could not build R.Java

The place to discuss anything and everything about running your LiveCode on Android

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
paulrichards999
Posts: 14
Joined: Thu Sep 04, 2014 3:32 pm

could not build R.Java

Post by paulrichards999 » Tue Jan 09, 2018 12:22 pm

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

sphere
Posts: 502
Joined: Sat Sep 27, 2014 10:32 am
Location: the Netherlands

Re: could not build R.Java

Post by sphere » Wed Jan 10, 2018 7:21 pm

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
Global Market Share WorldWide Android 84.82%
Global Market Share WorldWide iOs 12%

Just a wild guess that we need more support and features for Android than iOs...

paulrichards999
Posts: 14
Joined: Thu Sep 04, 2014 3:32 pm

Re: could not build R.Java

Post by paulrichards999 » Fri Jan 12, 2018 3:01 pm

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

sphere
Posts: 502
Joined: Sat Sep 27, 2014 10:32 am
Location: the Netherlands

Re: could not build R.Java

Post by sphere » Fri Jan 12, 2018 8:37 pm

ok if it normally works fine deploying on windows to Android
then i suggest to report a possible bug: http://quality.livecode.com/
Global Market Share WorldWide Android 84.82%
Global Market Share WorldWide iOs 12%

Just a wild guess that we need more support and features for Android than iOs...

Post Reply

Return to “Android Deployment”