Hi,
I have a strange problem.
I am developing 2 applications.
Both have the same requirements in term of SDK : android:minSdkVersion="5" android:targetSdkVersion="26"
One is using the GPS feature, so I have some code in the starter
<code>
Sub Service_Create
GPS1.Initialize("GPS")
shared = rp.GetSafeDirDefaultExternal("shared")
End Sub
</code>
The other is just a timer app, so nothing there.
Both are running in release mode on my Samsung Galaxy S4, running android 5.0.1.
But the later can't be run in debug, I always get an error like this
java.lang.RuntimeException: Unable to create service thlsoft.vcm.clock.starter: java.lang.RuntimeException: java.io.FileNotFoundException: /storage/emulated/0/Android/data/thlsoft.vcm.clock/files/virtual_assets/initdimanche.bal: open failed: ENOENT (No such file or directory)
The First app is actually creating the folder where I can find the BAL file and can be run in debug mode.
Any Idea?
Is it mandatory to have code in the Starter ?
Thanks.
Thierry
Running B4A 8.50
I have a strange problem.
I am developing 2 applications.
Both have the same requirements in term of SDK : android:minSdkVersion="5" android:targetSdkVersion="26"
One is using the GPS feature, so I have some code in the starter
<code>
Sub Service_Create
GPS1.Initialize("GPS")
shared = rp.GetSafeDirDefaultExternal("shared")
End Sub
</code>
The other is just a timer app, so nothing there.
Both are running in release mode on my Samsung Galaxy S4, running android 5.0.1.
But the later can't be run in debug, I always get an error like this
java.lang.RuntimeException: Unable to create service thlsoft.vcm.clock.starter: java.lang.RuntimeException: java.io.FileNotFoundException: /storage/emulated/0/Android/data/thlsoft.vcm.clock/files/virtual_assets/initdimanche.bal: open failed: ENOENT (No such file or directory)
The First app is actually creating the folder where I can find the BAL file and can be run in debug mode.
Any Idea?
Is it mandatory to have code in the Starter ?
Thanks.
Thierry
Running B4A 8.50