trojan-gfw / igniter

A trojan client for Android (UNDER CONSTRUCTION).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

igniter 0.10.4-beta can not work on android 12

HeyIris opened this issue · comments

Igniter keeps stopping. Cannot show develop info on logcat.

I have the same problem, can't start after android upgrading to 12

commented

I have the same problem,it can't start on Android 12

0.10.3 works

commented
05-14 18:27:20.577 I/ActivityManager( 1656): Start proc 11098:io.github.trojan_gfw.igniter:proxy/u0a335 for service {io.github.trojan_gfw.igniter/io.github.trojan_gfw.igniter.ProxyService}
05-14 18:27:20.624 V/StorageRedirect( 1311): requestCheckProcess: pid=11098, uid=10335, pkg=io.github.trojan_gfw.igniter
05-14 18:27:20.624 V/StorageRedirect( 1311): requestCheckProcess: pid=11098, uid=10335, pkg=io.github.trojan_gfw.igniter, proc=io.github.trojan_gfw.igniter:proxy
05-14 18:27:20.625 V/StorageRedirectInject(11098): main: package=io.github.trojan_gfw.igniter, user=0
05-14 18:27:20.675 V/GraphicsEnvironment(11098): ANGLE Developer option for 'io.github.trojan_gfw.igniter' set to: 'default'
05-14 18:27:20.676 V/GraphicsEnvironment(11098): ANGLE GameManagerService for io.github.trojan_gfw.igniter: false
05-14 18:27:20.689 E/AndroidRuntime(11098): Process: io.github.trojan_gfw.igniter:proxy, PID: 11098
05-14 18:27:20.689 E/AndroidRuntime(11098): java.lang.RuntimeException: Unable to start service io.github.trojan_gfw.igniter.ProxyService@6cdc4a with Intent { cmp=io.github.trojan_gfw.igniter/.ProxyService }: java.lang.IllegalArgumentException: io.github.trojan_gfw.igniter: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
05-14 18:27:20.689 E/AndroidRuntime(11098): Caused by: java.lang.IllegalArgumentException: io.github.trojan_gfw.igniter: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
05-14 18:27:20.689 E/AndroidRuntime(11098):     at io.github.trojan_gfw.igniter.ProxyService.onStartCommand(:3)

Looks like it's caused by the flags of PendingIntent on API 31+

I have the same problem in S22, thanks for the reminder

commented

https://github.com/chengsluo/igniter/releases/tag/v0.10.4-beta.2
I had fix this problem && add PR。 If you need it right now,you can just download this package
@kuun @haso2007 @HeyIris @HZGHR