techcvr
(Vishal)
January 14, 2019, 6:51am
#1
Describe your issue
Live test & Exported APK not working for Old Projects.
I tried clearing cookies from my browser. i also change the browser to test. nothing is working.
Steps to reproduce the issue
Open any old projects in creator (mine is 6 Sept 2018) and try Live test. also after exporting i am not able to open the app. it crashes right after i open.
Project file
IPTracker.aia (60.9 KB)
Android version
Android 8.0 (Honor 9 Lite)
Please try the above project
Thank You.
Mika
January 14, 2019, 7:33am
#2
I imported your project and the export works fine.
All I done is click on export as apk and it works.
Peter
(Moderator)
January 14, 2019, 8:03am
#3
I could build and export it and install it. But when i want to run it it stops. It won’t open on my phone on Android 8.1.
techcvr
(Vishal)
January 14, 2019, 8:52am
#4
export is working… but when i install the exported apk, the app stops instantly. no splash screen or anything.
yes… same problem happens to me.
Mika
January 14, 2019, 9:00am
#5
Caused by: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
Iam sure the extension did not request the needed location permission.
After I granted the app the permission it works short
1 Like
Peter
(Moderator)
January 14, 2019, 9:02am
#6
Yep, that did it. After manually setting the location permission it works.
techcvr
(Vishal)
January 14, 2019, 9:10am
#7
app didn’t ask for any permission in the first run. it should ask for permission in the first run…
techcvr
(Vishal)
January 14, 2019, 9:12am
#8
yes… it works if manually setting the location permission. but what if any new user wants to try this app.?
Peter
(Moderator)
January 14, 2019, 9:16am
#9
What if you add a locationsensor to your app. Or ask for permission with this block.
Don’t know how it works, never used it.
1 Like
Mika
January 14, 2019, 9:17am
#10
This is because of the new permission system.
The extension developer must upgrade his extension.
1 Like
techcvr
(Vishal)
January 14, 2019, 9:18am
#11
i am using an extension named AdvancedLocationSensor. so according to mika the extension developer need to upgrade his extension.
Mika
January 14, 2019, 9:20am
#12
Correct.
And unitl the extension developer did not upgrade his extension you can use the block which @Peter you showed.
And first if the permission is granted use the location blocks from the extensions
1 Like
techcvr
(Vishal)
January 14, 2019, 9:21am
#13
sure… i’ll try Peter’s method. in the mean time can you please check if the live test works or not…
i just found out the live test is not working on New Projects too.
Edit - Now Live Test Works Fine, Thanks to Diego
I’ve now restarted Rendezvous server, please try again
Everything is working properly for me now
Regards
1 Like
system
(system)
Closed
February 13, 2019, 9:22am
#14
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.