PokeFaker icon indicating copy to clipboard operation
PokeFaker copied to clipboard

App crashes on open

Open Johnpeter69 opened this issue 9 years ago • 16 comments

When i try to open the app it instantly closes with "unfortunately pokefaker has stopped" I'm not sure how to get the error but it isn't in the exposed logger. I'm on android 6.0.1

Johnpeter69 avatar Jul 19 '16 20:07 Johnpeter69

Sorry for that. It’s a bug.

Please open the Mock Location options in Developer Settings, and grant PokeFaker to mock locations.

Github: https://github.com/jinsen47 https://github.com/jinsen47/ [email protected]

在 2016年7月20日,上午4:34,Johnpeter69 [email protected] 写道:

When i try to open the app it instantly closes with "unfortunately pokefaker has stopped" I'm not sure how to get the error but it isn't in the exposed logger. I'm on android 6.0.1

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jinsen47/PokeFaker/issues/10, or mute the thread https://github.com/notifications/unsubscribe-auth/AEsXVMtzFhWJwixJVpHTrXiSJvOlov97ks5qXTTSgaJpZM4JQJEr.

jinsen47 avatar Jul 20 '16 01:07 jinsen47

I found that out after reading the logs, now when I set my location and open pokemon it crashes with this com.github.jinsen47.pokefaker.app.LocationService.addAlertWindow(LocationService.java:165)

Com.github.jinsen47.pokefaker.app.LocationService.access$200(LocationService.java:34)

com.github.jinsen47.pokefaker.app.LocationService$1.run(LocationService.java:79)

Johnpeter69 avatar Jul 20 '16 02:07 Johnpeter69

Ops. Seem you don't grant PokeFaker with pop-up window permission.

jinsen47 avatar Jul 20 '16 02:07 jinsen47

There isn't a option to give it

Johnpeter69 avatar Jul 20 '16 02:07 Johnpeter69

The option is in your own permission manager, I don't have the time to adapt all roms in the world, so I wrote it in the readme.

jinsen47 avatar Jul 20 '16 02:07 jinsen47

Indeed I've checked my permissions although there is only this https://imgur.com/eVLSO7L is there an additional app to give this permission?

Johnpeter69 avatar Jul 20 '16 02:07 Johnpeter69

Wired. Commonly, there will be a toggle button in Application permission page. You can go to App Info page and find if there is an access to permission manager.

jinsen47 avatar Jul 20 '16 02:07 jinsen47

That's what the image is of. Me in the permissions manager for the app.

Johnpeter69 avatar Jul 20 '16 02:07 Johnpeter69

Sorry can't help you, I never met a rom without this permission toggle button... Perhaps you can try someone else's phone and have a look, pop-up window permission is for all applications.

jinsen47 avatar Jul 20 '16 03:07 jinsen47

I am facing the same issue. Oneplus 2 with Oxygen 3.0.2 Pokefacer is autoclosing In Permissionmanager i don't have any option to enable pop up for pokefacer

acocalypso avatar Jul 22 '16 08:07 acocalypso

Perhaps it's an bug on M, I will do some research.

jinsen47 avatar Jul 22 '16 16:07 jinsen47

I don't know if related but on my oneplus one CyanogenOS13 android M, there is no problem when starting PokeFaker 1.0.1 but when switching on Pokemon Go, it switch to the fake place, PokeFaker crash twice then Pokemon Go map go back to real place (if fake place is near real one, sometimes it remains in fake place even after PokeFaker has crashed twice).

Albirew avatar Jul 22 '16 19:07 Albirew

On android M you have to go under settings>apps> click the gear icon and hit draw over other apps and the click pokefaker and enable that fixes the force close issues

thatmann00b avatar Jul 23 '16 19:07 thatmann00b

And as far as switching back to original location I fixed mine on my nexus by downloading disable services and disabling fused locations.

thatmann00b avatar Jul 23 '16 19:07 thatmann00b

Thanks, I believe this one needs to be wrote down inside README.md

Albirew avatar Jul 24 '16 13:07 Albirew

@thatmann00b I mock locations with GPS and network signals, theoretically fused provider relies on GPS and network. However, it seems not on your phone. Wired enough. Thanks for your advice. It will be added.

jinsen47 avatar Jul 25 '16 08:07 jinsen47