pureqml/qmlcore

building for android issues

alien999999999 opened this issue · 3 comments

first, i had to change some manifest file with title and "domain" (whatever that means)

and then i had basically an issue about not finding ANDROID_SDK_ROOT ... so i change the shell script so it would pass ANDRIOD_SDK_ROOT=$ANDROID_HOME to the gradle thing...

after that i had an error about javac, then i installed it but the error didn't go away:

  • What went wrong:
    Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'.

Cannot query the value of this provider because it has no value available.

i passed a JAVA_HOME="path" in the script as well, but that did not help...

The real weird thing is that the old android_sdk_root error got back, and rerunning it will show the javac error again, and it cycles between them.... which is weird...

Have you tried ./qmlcore/platform/pure.femto/build-android-native.sh ?

well, that is what i used, and what failed and i tried to delve deeper to see what was wrong...

Just found this on the SO

Full combo of build/ clean project + build/ rebuild project + file/ Invalidate caches / restart works for me!

Did you try rebuilding everything from scratch?