Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › Android compilation error after last felgo update

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #21649

    Nicola

    Hi,

    yesterday night i done the Felgo update and now i have a warning and mainly this error compiling on android:

    /Users/nicola/mobile/build-XXXX-Android_for_armeabi_v7a_GCC_4_9_Qt_5_11_1_Android_armv7_Felgo-Debug/android-build/AndroidManifest.xml:60:5-79 Warning:

    Element uses-permission#android.permission.ACCESS_FINE_LOCATION at AndroidManifest.xml:60:5-79 duplicated with element declared at AndroidManifest.xml:57:5-79

    /Users/nicola/src/cardmobile/mobile/build-XXXX-Android_for_armeabi_v7a_GCC_4_9_Qt_5_11_1_Android_armv7_Felgo-Debug/android-build/build/intermediates/manifests/full/debug/AndroidManifest.xml:84: AAPT: No resource identifier found for attribute ‘appComponentFactory’ in package ‘android’

     

    It’s for every android project

    #21650

    Alex
    Felgo Team

    Hi Nicola,

    does this also happen with a new empty project created from the wizard? Did you see the migration guide for Android deployment of this update?

    Also does deployment fail or is it only about the warnings displayed?

    Cheers,
    Alex

    #21651

    Nicola

    It’s not new project, i’m working on from a year. The deploy fails with:

    :mergeDebugResources

    :processDebugManifest

    /Users/nicola/src/cardmobile/mobile/build-ClubPoker-Android_for_armeabi_v7a_GCC_4_9_Qt_5_11_1_Android_armv7_Felgo-Debug/android-build/AndroidManifest.xml:60:5-79 Warning:

    Element uses-permission#android.permission.ACCESS_FINE_LOCATION at AndroidManifest.xml:60:5-79 duplicated with element declared at AndroidManifest.xml:57:5-79

    /Users/nicola/src/cardmobile/mobile/build-ClubPoker-Android_for_armeabi_v7a_GCC_4_9_Qt_5_11_1_Android_armv7_Felgo-Debug/android-build/build/intermediates/manifests/full/debug/AndroidManifest.xml:84: AAPT: No resource identifier found for attribute ‘appComponentFactory’ in package ‘android’

    /Users/nicola/src/cardmobile/mobile/build-ClubPoker-Android_for_armeabi_v7a_GCC_4_9_Qt_5_11_1_Android_armv7_Felgo-Debug/android-build/build/intermediates/manifests/full/debug/AndroidManifest.xml:84: error: No resource identifier found for attribute ‘appComponentFactory’ in package ‘android’

    :processDebugResources FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ‘:processDebugResources’.

    > com.android.ide.common.process.ProcessException: Failed to execute aapt

    #21652

    Nicola

    Changing the gradle version, how wrote in migration guide i have:

    FAILURE: Build failed with an exception.

    * What went wrong:

    A problem occurred configuring root project ‘android-build’.

    > Could not resolve all artifacts for configuration ‘:classpath’.

    > Could not find com.android.tools.build:gradle:3.2.1.

    Searched in the following locations:

    https://jcenter.bintray.com/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.pom

    https://jcenter.bintray.com/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.jar

    Required by:

    project :

    #21653

    Nicola

    I resolved, creating a new empty project, that load the new gradle things, after i removed the old build directory, removed the pro.user file, close the creator, re opened the creator, reconfigure the project. Hope that this can helpful for others.

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.