LC 9 DP11 running on Windows 10
Created a new stack and added just the new Map Widget. Trying to save as standalone but getting error:
There was an error while saving the stanadalone application
could not build R.java
Error: resource directory
c:\users\paul\appdata\local\temp\tmp6\res-build\res\
does not exist.
any ideas?
Thanks
could not build R.Java
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: could not build R.Java
i've no idea.
but to start:
did you install the JAVA jdk?
Did you install Android studio or just the command line utilities? either of these is needed, and then did you download the Android sdk files?
Did you point LC in the Moblie settings to your sdk installation?
also add the path of the android sdk and java jdk to your environment settings
but to start:
did you install the JAVA jdk?
Did you install Android studio or just the command line utilities? either of these is needed, and then did you download the Android sdk files?
Did you point LC in the Moblie settings to your sdk installation?
also add the path of the android sdk and java jdk to your environment settings
-
- Posts: 19
- Joined: Thu Sep 04, 2014 3:32 pm
Re: could not build R.Java
Java SDK installed and everything is generally fine ( I deploy to Android most days - so this part works)
The issue only happens when the Map Widget is added. I can deploy OK from Mac, but just not Windows
The issue only happens when the Map Widget is added. I can deploy OK from Mac, but just not Windows
Re: could not build R.Java
ok if it normally works fine deploying on windows to Android
then i suggest to report a possible bug: http://quality.livecode.com/
then i suggest to report a possible bug: http://quality.livecode.com/
-
- Posts: 19
- Joined: Thu Sep 04, 2014 3:32 pm
Re: could not build R.Java
So having done a little digging around, traced the error message to revSaveAsAndroidStandalone.livecodescript.
Just after generateResourceClasses, tBuildFolder, tManifestFile, pSettings, rResourceClasses - I place a "put tBuildFolder, tManifestFile, pSettings, rResourceClasses " (line 754) in order to gauge what might be missing... having this line in place actually builds the standalone ?! So small hurdle jumped.
But when the app is pushed to my Samsung S8 with just the Map Widget on 1 card, it just crashes straightaway (When pushed from Mac or Windows) so it does look like 2 reports needed.
Just after generateResourceClasses, tBuildFolder, tManifestFile, pSettings, rResourceClasses - I place a "put tBuildFolder, tManifestFile, pSettings, rResourceClasses " (line 754) in order to gauge what might be missing... having this line in place actually builds the standalone ?! So small hurdle jumped.
But when the app is pushed to my Samsung S8 with just the Map Widget on 1 card, it just crashes straightaway (When pushed from Mac or Windows) so it does look like 2 reports needed.