amotzte / android-mock-location-for-development

allows to change mock location from command line on real devices
74 stars 24 forks source link

App crashes after adb command sent. #5

Open zi-l opened 5 years ago

zi-l commented 5 years ago

Test in Android 8.0, android 6.0.1 with v0.4 Seconds later after adb command is sent, app stops running and crashes. prompt message in cmd: Broadcasting: Intent { act=send.mock (has extras) } Broadcast completed: result=0

amotzte commented 5 years ago

Hi @zi-l Can you send stacktrace ?

zi-l commented 5 years ago

@amotzte No longer crash after selected as Mock Location App at Developer options page and granted location permission. Still could not set location successfully, however. Performing the same as issue:#2

zi-l commented 5 years ago

@amotzte Here's the adb log: mockapp.log

amotzte commented 5 years ago

@zi-l is mock location enabled in settings -> system -> Developer options -> select mock location app ?

zi-l commented 5 years ago

@amotzte Yes, and also granted app location permission. However, it does not work. The ADB command seems to be no longer effective.