I'm trying to add support for Android API level 33 but When I target Android API Level 33 and try to create build it show this error, It works fine if Build with Android API level 32 without doing any changes..
Admob Version: 7.4.0
Configure project :launcher
WARNING: The option setting 'android.enableR8=false' is deprecated.
It will be removed in version 5.0 of the Android Gradle plugin.
You will no longer be able to disable R8
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preBuild UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:preBuild UP-TO-DATE
> Task :launcher:preBuild UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseAidl NO-SOURCE
> Task :unityLibrary:preReleaseBuild UP-TO-DATE
> Task :launcher:extractProguardFiles UP-TO-DATE
> Task :launcher:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:compileReleaseAidl NO-SOURCE
> Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
> Task :launcher:generateReleaseBuildConfig UP-TO-DATE
> Task :launcher:compileReleaseAidl NO-SOURCE
> Task :launcher:compileReleaseRenderscript NO-SOURCE
> Task :launcher:javaPreCompileRelease UP-TO-DATE
> Task :launcher:generateReleaseResValues UP-TO-DATE
> Task :launcher:generateReleaseResources UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseRenderscript NO-SOURCE
> Task :unityLibrary:generateReleaseResValues UP-TO-DATE
> Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseRenderscript NO-SOURCE
> Task :unityLibrary:generateReleaseResources UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResValues UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResources UP-TO-DATE
> Task :unityLibrary:packageReleaseResources UP-TO-DATE
> Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseResources UP-TO-DATE
> Task :launcher:extractDeepLinksRelease UP-TO-DATE
> Task :unityLibrary:extractDeepLinksRelease UP-TO-DATE
> Task :unityLibrary:processReleaseManifest UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:extractDeepLinksRelease UP-TO-DATE
> Task :unityLibrary:compileReleaseLibraryResources UP-TO-DATE
> Task :unityLibrary:parseReleaseLocalResources UP-TO-DATE
> Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
> Task :unityLibrary:javaPreCompileRelease UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseManifest UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:parseReleaseLocalResources UP-TO-DATE
> Task :launcher:mergeReleaseResources UP-TO-DATE
> Task :launcher:processReleaseManifest UP-TO-DATE
> Task :launcher:prepareLintJar UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseRFile UP-TO-DATE
> Task :unityLibrary:prepareLintJarForPublish UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseLibraryResources UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseBuildConfig UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:javaPreCompileRelease UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseJavaWithJavac UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibCompileToJarRelease UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:prepareLintJarForPublish UP-TO-DATE
> Task :unityLibrary:generateReleaseRFile UP-TO-DATE
> Task :launcher:processReleaseResources UP-TO-DATE
> Task :launcher:checkReleaseDuplicateClasses UP-TO-DATE
> Task :unityLibrary:compileReleaseJavaWithJavac UP-TO-DATE
> Task :unityLibrary:bundleLibCompileToJarRelease UP-TO-DATE
> Task :launcher:compileReleaseJavaWithJavac UP-TO-DATE
> Task :launcher:compileReleaseSources UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseGeneratedProguardFiles UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:exportReleaseConsumerProguardFiles UP-TO-DATE
> Task :unityLibrary:mergeReleaseGeneratedProguardFiles UP-TO-DATE
> Task :unityLibrary:exportReleaseConsumerProguardFiles UP-TO-DATE
> Task :unityLibrary:processReleaseJavaRes NO-SOURCE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseJavaRes NO-SOURCE
> Task :unityLibrary:bundleLibResRelease NO-SOURCE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibResRelease NO-SOURCE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibRuntimeToJarRelease UP-TO-DATE
> Task :unityLibrary:bundleLibRuntimeToJarRelease UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseShaders UP-TO-DATE
> Task :unityLibrary:mergeReleaseShaders UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseShaders NO-SOURCE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseAssets UP-TO-DATE
> Task :unityLibrary:compileReleaseShaders NO-SOURCE
> Task :unityLibrary:generateReleaseAssets UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseAssets UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseJniLibFolders UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseNativeLibs UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:stripReleaseDebugSymbols NO-SOURCE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:copyReleaseJniLibsProjectOnly UP-TO-DATE
> Task :unityLibrary:packageReleaseAssets
> Task :unityLibrary:mergeReleaseJniLibFolders UP-TO-DATE
> Task :unityLibrary:mergeReleaseNativeLibs UP-TO-DATE
> Task :unityLibrary:stripReleaseDebugSymbols UP-TO-DATE
> Task :unityLibrary:copyReleaseJniLibsProjectOnly UP-TO-DATE
> Task :launcher:lintVitalRelease
> Task :launcher:mergeReleaseGeneratedProguardFiles UP-TO-DATE
> Task :launcher:processReleaseJavaRes NO-SOURCE
> Task :launcher:mergeReleaseJavaResource UP-TO-DATE
i got several error when i build unity project to apk
Configure project :launcher
WARNING: The option setting 'android.enableR8=false' is deprecated.
It will be removed in version 5.0 of the Android Gradle plugin.
You will no longer be able to disable R8
Task :launcher:preBuild UP-TO-DATE
Task :unityLibrary:preBuild UP-TO-DATE
Task :launcher:preReleaseBuild UP-TO-DATE
Task :unityLibrary:preReleaseBuild UP-TO-DATE
Task :unityLibrary:compileReleaseAidl NO-SOURCE
Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
Task :launcher:generateReleaseBuildConfig UP-TO-DATE
Task :launcher:compileReleaseAidl NO-SOURCE
Task :unityLibrary:generateReleaseResValues UP-TO-DATE
Task :unityLibrary:generateReleaseResources UP-TO-DATE
Task :launcher:compileReleaseRenderscript NO-SOURCE
Task :launcher:javaPreCompileRelease UP-TO-DATE
Task :launcher:generateReleaseResValues UP-TO-DATE
Task :launcher:generateReleaseResources UP-TO-DATE
Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
Task :unityLibrary:packageReleaseResources UP-TO-DATE
Task :launcher:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:extractDeepLinksRelease UP-TO-DATE
Task :launcher:mergeReleaseResources UP-TO-DATE
Task :launcher:prepareLintJar UP-TO-DATE
Task :launcher:checkReleaseDuplicateClasses UP-TO-DATE
Task :unityLibrary:compileReleaseLibraryResources UP-TO-DATE
Task :launcher:mergeReleaseShaders UP-TO-DATE
Task :launcher:compileReleaseShaders NO-SOURCE
Task :launcher:generateReleaseAssets UP-TO-DATE
Task :launcher:processReleaseJavaRes NO-SOURCE
Task :launcher:collectReleaseDependencies UP-TO-DATE
Task :launcher:sdkReleaseDependencyData UP-TO-DATE
Task :launcher:mergeReleaseJniLibFolders UP-TO-DATE
Task :launcher:validateSigningRelease UP-TO-DATE
Task :launcher:desugarReleaseFileDependencies
Task :launcher:mergeExtDexRelease UP-TO-DATE
Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
Task :unityLibrary:javaPreCompileRelease UP-TO-DATE
Task :unityLibrary:prepareLintJarForPublish UP-TO-DATE
Task :unityLibrary:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:compileReleaseShaders NO-SOURCE
Task :unityLibrary:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:packageReleaseAssets
Task :unityLibrary:parseReleaseLocalResources
Task :unityLibrary:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:bundleLibResRelease NO-SOURCE
Task :unityLibrary:mergeReleaseJniLibFolders UP-TO-DATE
Task :unityLibrary:mergeReleaseNativeLibs UP-TO-DATE
Task :unityLibrary:stripReleaseDebugSymbols UP-TO-DATE
Task :unityLibrary:copyReleaseJniLibsProjectOnly UP-TO-DATE
Task :launcher:mergeReleaseAssets
Task :launcher:mergeReleaseJavaResource UP-TO-DATE
Task :launcher:mergeReleaseNativeLibs UP-TO-DATE
Task :launcher:stripReleaseDebugSymbols UP-TO-DATE
Task :unityLibrary:processReleaseManifest
Task :unityLibrary:generateReleaseRFile
Task :launcher:processReleaseManifest
aapt2.exe W 11-19 13:53:53 11828 12404 LoadedArsc.cpp:657] Unknown chunk type '200'.
Task :launcher:processReleaseResources
Task :unityLibrary:compileReleaseJavaWithJavac
Task :unityLibrary:bundleLibCompileToJarRelease UP-TO-DATE
Task :unityLibrary:bundleLibRuntimeToJarRelease UP-TO-DATE
Task :launcher:compileReleaseJavaWithJavac
Task :launcher:compileReleaseSources
Task :launcher:lintVitalRelease
Task :launcher:dexBuilderRelease
Task :launcher:mergeDexRelease UP-TO-DATE
Task :launcher:packageRelease FAILED
45 actionable tasks: 13 executed, 32 up-to-date
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
is there any solution?
i've seen some similar question but no solution
solution for my project
I am on a MacBook Running Android Studio
Under a React Native Project, the TypeScript tests run fine with jest but when we added JUnit tests under a Native Java Module, while it works individually or by folder as long as they are in androidTest, whenever we run "All Tests" in Android Studio, or when they are run under test we get a false fail. The error is always the same.
Running the same tests under Android Tests works
when in android/app/src/androidTest/.../
gives
Yet running the same tests under Tests fails
when I copy them into android/app/src/test/.../
or leave them in androidTest and run all tests
it always gives
So, all these unit tests live happily in android/app/src/androidTest/.../ and do not like being in android/app/src/test/.../ (when I copy/paste them to the android/app/src/test/.../ path the androidTest passes in the ide, but the test version of the same test doesn't pass) But the bad part is the fail is the same: They fail under "Run 'All Tests'" when in /androidTest and give the same reason as if they are wrongly in /test. i.e. "Run 'All Tests'" and "Run unit tests in ''" both fail for the same reason
this is the error dump I get
Executing tasks: [:app:testDebugUnitTest] in project
/Users/local/some/domain/my-app/android
> Configure project :
Repository BintrayJCenter (https://jcenter.bintray.com/) removed, using https://pkgs.dev.azure.com/somedomain/O-Common/maven/v1
Repository MavenRepo (https://repo.maven.apache.org/maven2/) removed, using https://pkgs.dev.azure.com/somedomain/O-Common/maven/v1
Repository Google (https://dl.google.com/dl/android/maven2/) removed, using https://pkgs.dev.azure.com/somedomain/O-Common/maven/v1
...
> Task :app:generatePackageList
> Task :app:preBuild
> Task :app:preDebugBuild
> Task :react-native-community_art:preBuild UP-TO-DATE
> Task :react-native-community_art:preDebugBuild UP-TO-DATE
> Task :react-native-community_art:compileDebugAidl NO-SOURCE
> Task :react-native-community_masked-view:preBuild UP-TO-DATE
> Task :react-native-community_masked-view:preDebugBuild UP-TO-DATE
> Task :react-native-community_masked-view:compileDebugAidl NO-SOURCE
> Task :react-native-cookies:preBuild UP-TO-DATE
> Task :react-native-cookies:preDebugBuild UP-TO-DATE
> Task :react-native-cookies:compileDebugAidl NO-SOURCE
> Task :react-native-datawedge-intents:preBuild UP-TO-DATE
> Task :react-native-datawedge-intents:preDebugBuild UP-TO-DATE
> Task :react-native-datawedge-intents:compileDebugAidl NO-SOURCE
> Task :react-native-device-info:preBuild UP-TO-DATE
> Task :react-native-device-info:preDebugBuild UP-TO-DATE
> Task :react-native-device-info:compileDebugAidl NO-SOURCE
> Task :react-native-exception-handler:preBuild UP-TO-DATE
> Task :react-native-exception-handler:preDebugBuild UP-TO-DATE
> Task :react-native-exception-handler:compileDebugAidl NO-SOURCE
> Task :react-native-gesture-handler:preBuild UP-TO-DATE
> Task :react-native-gesture-handler:preDebugBuild UP-TO-DATE
> Task :react-native-gesture-handler:compileDebugAidl NO-SOURCE
> Task :react-native-safe-area-context:preBuild UP-TO-DATE
> Task :react-native-safe-area-context:preDebugBuild UP-TO-DATE
> Task :react-native-safe-area-context:compileDebugAidl NO-SOURCE
> Task :react-native-screens:preBuild UP-TO-DATE
> Task :react-native-screens:preDebugBuild UP-TO-DATE
> Task :react-native-screens:compileDebugAidl NO-SOURCE
> Task :react-native-sound:preBuild UP-TO-DATE
> Task :react-native-sound:preDebugBuild UP-TO-DATE
> Task :react-native-sound:compileDebugAidl NO-SOURCE
> Task :react-native-svg:preBuild UP-TO-DATE
> Task :react-native-svg:preDebugBuild UP-TO-DATE
> Task :react-native-svg:compileDebugAidl NO-SOURCE
> Task :react-native-vector-icons:preBuild UP-TO-DATE
> Task :react-native-vector-icons:preDebugBuild UP-TO-DATE
> Task :react-native-vector-icons:compileDebugAidl NO-SOURCE
> Task :react-native-version-number:preBuild UP-TO-DATE
> Task :react-native-version-number:preDebugBuild UP-TO-DATE
> Task :react-native-version-number:compileDebugAidl NO-SOURCE
> Task :app:compileDebugAidl NO-SOURCE
> Task :react-native-community_art:packageDebugRenderscript NO-SOURCE
> Task :react-native-community_masked-view:packageDebugRenderscript NO-SOURCE
> Task :react-native-cookies:packageDebugRenderscript NO-SOURCE
> Task :react-native-datawedge-intents:packageDebugRenderscript NO-SOURCE
> Task :react-native-device-info:packageDebugRenderscript NO-SOURCE
> Task :react-native-exception-handler:packageDebugRenderscript NO-SOURCE
> Task :react-native-gesture-handler:packageDebugRenderscript NO-SOURCE
> Task :react-native-safe-area-context:packageDebugRenderscript NO-SOURCE
> Task :react-native-screens:packageDebugRenderscript NO-SOURCE
> Task :react-native-sound:packageDebugRenderscript NO-SOURCE
> Task :react-native-svg:packageDebugRenderscript NO-SOURCE
> Task :react-native-vector-icons:packageDebugRenderscript NO-SOURCE
> Task :react-native-version-number:packageDebugRenderscript NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:generateDebugBuildConfig UP-TO-DATE
> Task :app:javaPreCompileDebug UP-TO-DATE
> Task :react-native-community_art:writeDebugAarMetadata UP-TO-DATE
> Task :react-native-community_masked-view:writeDebugAarMetadata UP-TO-DATE
> Task :react-native-cookies:writeDebugAarMetadata UP-TO-DATE
> Task :react-native-datawedge-intents:writeDebugAarMetadata UP-TO-DATE
> Task :react-native-device-info:writeDebugAarMetadata UP-TO-DATE
> Task :react-native-exception-handler:writeDebugAarMetadata UP-TO-DATE
> Task :react-native-gesture-handler:writeDebugAarMetadata UP-TO-DATE
> Task :react-native-safe-area-context:writeDebugAarMetadata UP-TO-DATE
> Task :react-native-screens:writeDebugAarMetadata UP-TO-DATE
> Task :react-native-sound:writeDebugAarMetadata UP-TO-DATE
> Task :react-native-svg:writeDebugAarMetadata UP-TO-DATE
> Task :react-native-vector-icons:writeDebugAarMetadata UP-TO-DATE
> Task :react-native-version-number:writeDebugAarMetadata UP-TO-DATE
> Task :app:checkDebugAarMetadata UP-TO-DATE
> Task :app:bundleDebugJsAndAssets
Execution optimizations have been disabled for task ':app:bundleDebugJsAndAssets' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '/Users/local/some/domain/my-app'. Reason: Task ':app:bundleDebugJsAndAssets' uses this output of task ':react-native-version-number:writeDebugAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.
warn Package lint-staged has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in /Users/local/some/domain/my-app/node_modules/lint-staged/package.json
warning: the transform cache was reset.
Welcome to Metro!
Fast - Scalable - Integrated
info Writing bundle output to:, /Users/local/some/domain/my-app/android/app/build/generated/assets/react/debug/index.android.bundle
info Writing sourcemap output to:, /Users/local/some/domain/my-app/android/app/build/generated/sourcemaps/react/debug/index.android.bundle.map
info Done writing bundle output
info Done writing sourcemap output
info Copying 36 asset files
info Done copying assets
> Task :app:mergeDebugShaders UP-TO-DATE
> Task :app:compileDebugShaders NO-SOURCE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :react-native-community_art:mergeDebugShaders UP-TO-DATE
> Task :react-native-community_art:compileDebugShaders NO-SOURCE
> Task :react-native-community_art:generateDebugAssets UP-TO-DATE
> Task :react-native-community_art:packageDebugAssets UP-TO-DATE
> Task :react-native-community_masked-view:mergeDebugShaders UP-TO-DATE
> Task :react-native-community_masked-view:compileDebugShaders NO-SOURCE
> Task :react-native-community_masked-view:generateDebugAssets UP-TO-DATE
> Task :react-native-community_masked-view:packageDebugAssets UP-TO-DATE
> Task :react-native-cookies:mergeDebugShaders UP-TO-DATE
> Task :react-native-cookies:compileDebugShaders NO-SOURCE
> Task :react-native-cookies:generateDebugAssets UP-TO-DATE
> Task :react-native-cookies:packageDebugAssets UP-TO-DATE
> Task :react-native-datawedge-intents:mergeDebugShaders UP-TO-DATE
> Task :react-native-datawedge-intents:compileDebugShaders NO-SOURCE
> Task :react-native-datawedge-intents:generateDebugAssets UP-TO-DATE
> Task :react-native-datawedge-intents:packageDebugAssets UP-TO-DATE
> Task :react-native-device-info:mergeDebugShaders UP-TO-DATE
> Task :react-native-device-info:compileDebugShaders NO-SOURCE
> Task :react-native-device-info:generateDebugAssets UP-TO-DATE
> Task :react-native-device-info:packageDebugAssets UP-TO-DATE
> Task :react-native-exception-handler:mergeDebugShaders UP-TO-DATE
> Task :react-native-exception-handler:compileDebugShaders NO-SOURCE
> Task :react-native-exception-handler:generateDebugAssets UP-TO-DATE
> Task :react-native-exception-handler:packageDebugAssets UP-TO-DATE
> Task :react-native-gesture-handler:mergeDebugShaders UP-TO-DATE
> Task :react-native-gesture-handler:compileDebugShaders NO-SOURCE
> Task :react-native-gesture-handler:generateDebugAssets UP-TO-DATE
> Task :react-native-gesture-handler:packageDebugAssets UP-TO-DATE
> Task :react-native-safe-area-context:mergeDebugShaders UP-TO-DATE
> Task :react-native-safe-area-context:compileDebugShaders NO-SOURCE
> Task :react-native-safe-area-context:generateDebugAssets UP-TO-DATE
> Task :react-native-safe-area-context:packageDebugAssets UP-TO-DATE
> Task :react-native-screens:mergeDebugShaders UP-TO-DATE
> Task :react-native-screens:compileDebugShaders NO-SOURCE
> Task :react-native-screens:generateDebugAssets UP-TO-DATE
> Task :react-native-screens:packageDebugAssets UP-TO-DATE
> Task :react-native-sound:mergeDebugShaders UP-TO-DATE
> Task :react-native-sound:compileDebugShaders NO-SOURCE
> Task :react-native-sound:generateDebugAssets UP-TO-DATE
> Task :react-native-sound:packageDebugAssets UP-TO-DATE
> Task :react-native-svg:mergeDebugShaders UP-TO-DATE
> Task :react-native-svg:compileDebugShaders NO-SOURCE
> Task :react-native-svg:generateDebugAssets UP-TO-DATE
> Task :react-native-svg:packageDebugAssets UP-TO-DATE
> Task :react-native-vector-icons:mergeDebugShaders UP-TO-DATE
- Gradle detected a problem with the following location: '/Users/local/some/domain/my-app/android/app/build/intermediates/navigation_json/debug/navigation.json'. Reason: Task ':app:processDebugMainManifest' uses this output of task ':app:copyDebugBundledJs' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/local/some/domain/my-app/android/app/build/intermediates/navigation_json/debug/navigation.json'. Reason: Task ':app:processDebugMainManifest' uses this output of task ':app:copyDebugReactNativeVectorIconFonts' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.
/Users/local/some/domain/my-app/android/app/src/debug/AndroidManifest.xml:7:5-12:19 Warning:
application#android:allowBackup was tagged at AndroidManifest.xml:7 to replace other declarations but no other declaration present
> Task :app:processDebugManifest
Execution optimizations have been disabled for task ':app:processDebugManifest' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '/Users/local/some/domain/my-app/android/app/build/intermediates/compatible_screen_manifest/debug'. Reason: Task ':app:processDebugManifest' uses this output of task ':app:copyDebugBundledJs' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/local/some/domain/my-app/android/app/build/intermediates/compatible_screen_manifest/debug'. Reason: Task ':app:processDebugManifest' uses this output of task ':app:copyDebugReactNativeVectorIconFonts' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/local/some/domain/my-app/android/app/build/intermediates/merged_manifest/debug/AndroidManifest.xml'. Reason: Task ':app:processDebugManifest' uses this output of task ':app:copyDebugBundledJs' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.
> Task :react-native-svg:processDebugJavaRes NO-SOURCE
> Task :react-native-svg:bundleLibResDebug NO-SOURCE
> Task :react-native-svg:bundleLibRuntimeToJarDebug UP-TO-DATE
> Task :react-native-vector-icons:processDebugJavaRes NO-SOURCE
> Task :react-native-vector-icons:bundleLibResDebug NO-SOURCE
> Task :react-native-vector-icons:bundleLibRuntimeToJarDebug UP-TO-DATE
> Task :react-native-version-number:processDebugJavaRes NO-SOURCE
> Task :react-native-version-number:bundleLibResDebug NO-SOURCE
> Task :react-native-version-number:bundleLibRuntimeToJarDebug UP-TO-DATE
> Task :app:processDebugResources
> Task :app:compileDebugJavaWithJavac UP-TO-DATE
> Task :app:bundleDebugClasses UP-TO-DATE
> Task :app:compileDebugUnitTestJavaWithJavac UP-TO-DATE
> Task :app:packageDebugUnitTestForUnitTest UP-TO-DATE
> Task :app:generateDebugUnitTestConfig UP-TO-DATE
> Task :app:testDebugUnitTest
Called loadFromPath(/system/framework/framework-res.apk, true); mode=binary sdk=28
java.lang.NullPointerException
at java.base/java.io.File.<init>(File.java:278)
at com.facebook.soloader.ApplicationSoSource.<init>(ApplicationSoSource.java:46)
at com.facebook.soloader.SoLoader.initSoSources(SoLoader.java:285)
at com.facebook.soloader.SoLoader.init(SoLoader.java:207)
at com.facebook.soloader.SoLoader.init(SoLoader.java:189)
at com.facebook.soloader.SoLoader.init(SoLoader.java:217)
at uk.some.domain.myapp.MainApplication.onCreate(MainApplication.java:78)
at org.robolectric.android.internal.AndroidTestEnvironment.lambda$installAndCreateApplication$0(AndroidTestEnvironment.java:288)
at org.robolectric.util.PerfStatsCollector.measure(PerfStatsCollector.java:75)
at org.robolectric.android.internal.AndroidTestEnvironment.installAndCreateApplication(AndroidTestEnvironment.java:288)
at org.robolectric.android.internal.AndroidTestEnvironment.setUpApplicationState(AndroidTestEnvironment.java:171)
at org.robolectric.RobolectricTestRunner.beforeTest(RobolectricTestRunner.java:319)
at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$0(SandboxTestRunner.java:254)
at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:89)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
java.lang.NullPointerException
at java.base/java.io.File.<init>(File.java:278)
at com.facebook.soloader.ApplicationSoSource.<init>(ApplicationSoSource.java:46)
at com.facebook.soloader.SoLoader.initSoSources(SoLoader.java:285)
at com.facebook.soloader.SoLoader.init(SoLoader.java:207)
at com.facebook.soloader.SoLoader.init(SoLoader.java:189)
at com.facebook.soloader.SoLoader.init(SoLoader.java:217)
at uk.some.domain.myapp.MainApplication.onCreate(MainApplication.java:78)
at org.robolectric.android.internal.AndroidTestEnvironment.lambda$installAndCreateApplication$0(AndroidTestEnvironment.java:288)
at org.robolectric.util.PerfStatsCollector.measure(PerfStatsCollector.java:75)
at org.robolectric.android.internal.AndroidTestEnvironment.installAndCreateApplication(AndroidTestEnvironment.java:288)
at org.robolectric.android.internal.AndroidTestEnvironment.setUpApplicationState(AndroidTestEnvironment.java:171)
at org.robolectric.RobolectricTestRunner.beforeTest(RobolectricTestRunner.java:319)
at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$0(SandboxTestRunner.java:254)
at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:89)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
java.lang.NullPointerException
at java.base/java.io.File.<init>(File.java:278)
at com.facebook.soloader.ApplicationSoSource.<init>(ApplicationSoSource.java:46)
at com.facebook.soloader.SoLoader.initSoSources(SoLoader.java:285)
at com.facebook.soloader.SoLoader.init(SoLoader.java:207)
at com.facebook.soloader.SoLoader.init(SoLoader.java:189)
at com.facebook.soloader.SoLoader.init(SoLoader.java:217)
at uk.some.domain.myapp.MainApplication.onCreate(MainApplication.java:78)
at org.robolectric.android.internal.AndroidTestEnvironment.lambda$installAndCreateApplication$0(AndroidTestEnvironment.java:288)
at org.robolectric.util.PerfStatsCollector.measure(PerfStatsCollector.java:75)
at org.robolectric.android.internal.AndroidTestEnvironment.installAndCreateApplication(AndroidTestEnvironment.java:288)
at org.robolectric.android.internal.AndroidTestEnvironment.setUpApplicationState(AndroidTestEnvironment.java:171)
at org.robolectric.RobolectricTestRunner.beforeTest(RobolectricTestRunner.java:319)
at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$0(SandboxTestRunner.java:254)
at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:89)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
java.lang.NullPointerException
at java.base/java.io.File.<init>(File.java:278)
at com.facebook.soloader.ApplicationSoSource.<init>(ApplicationSoSource.java:46)
at com.facebook.soloader.SoLoader.initSoSources(SoLoader.java:285)
at com.facebook.soloader.SoLoader.init(SoLoader.java:207)
at com.facebook.soloader.SoLoader.init(SoLoader.java:189)
at com.facebook.soloader.SoLoader.init(SoLoader.java:217)
at uk.some.domain.myapp.MainApplication.onCreate(MainApplication.java:78)
at org.robolectric.android.internal.AndroidTestEnvironment.lambda$installAndCreateApplication$0(AndroidTestEnvironment.java:288)
at org.robolectric.util.PerfStatsCollector.measure(PerfStatsCollector.java:75)
at org.robolectric.android.internal.AndroidTestEnvironment.installAndCreateApplication(AndroidTestEnvironment.java:288)
at org.robolectric.android.internal.AndroidTestEnvironment.setUpApplicationState(AndroidTestEnvironment.java:171)
at org.robolectric.RobolectricTestRunner.beforeTest(RobolectricTestRunner.java:319)
at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$0(SandboxTestRunner.java:254)
at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:89)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
uk.some.domain.myapp.HubTest > testSendEvent_Object FAILED
java.lang.NullPointerException at File.java:278
uk.some.domain.myapp.HubTest > testSendEvent_String FAILED
java.lang.NullPointerException at File.java:278
uk.some.domain.myapp.HubTest > testBridgeHelloWorld FAILED
java.lang.NullPointerException at File.java:278
uk.some.domain.myapp.HubTest > testResetScreenTimer FAILED
java.lang.NullPointerException at File.java:278
4 tests completed, 4 failed
> Task :app:testDebugUnitTest FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:testDebugUnitTest'.
> There were failing tests. See the report at: file:///Users/local/some/domain/my-app/android/app/build/reports/tests/testDebugUnitTest/index.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 4 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 44s
220 actionable tasks: 7 executed, 213 up-to-date
13:20:03: Task execution finished ':app:testDebugUnitTest --tests "uk.some.domain.myapp.*"'.
For CI reasons it needs to run under "All Tasks" it appears to be emulator related, can anyone shed light on the cause?
I think this is related to Unit VS Instrumentation tests.
Unit is made for single method / small part of code testing on the local machine (Test folder).
Instrumentation tests on the other hand are made for a more complex testing of features, directly on an emulator (AndroidTest folder).
Possible Solution :
First, I would check every test and ensure they have to run on machine or in emulator, and set them in the proper directory.
Then, you 'll have to run an emulator in your CI to make all your instrumentation tests run properly.
Check testing fundamentals for more informations
I've run into a very interesting problem with my Ionic Capacitor mobile app when building in Android.
I have a very simple app that is using a Tabs component to navigate between a home page and an info page. When running the app in either the dev server on my machine or on my device using Live Reload, the app functions as normal, the tabs appear and I can navigate between the pages as expected.
The issue arises when I either run the app from Android Studio directly to my device or generate a APK/Bundle and execute it on my device. When running the app after installing the generated APK/Bundle, the tabs are not rendered and I am at a loss as to why that is? I have tried both release and debug builds and they both show the same issue.
Any help or advice is much appreciated!
Running dev with Live Reload
Running APK
Apologies as I couldn't capture the console log for this pic, but as you can see the Tabs are not rendered here.
The same happens if I simply run the app from Android.
2
package.json
{
"name": "app",
"version": "1.1.0",
"private": true,
"scripts": {
"start": "ionic cap run android -l --external",
"build:android": "ionic cap build android",
"build:ios": "ionic cap build ios",
"sync": "npx cap sync",
"repair": "ionic repair",
"test": "react-scripts test"
},
"dependencies": {
"#capacitor-community/barcode-scanner": "^2.0.1",
"#capacitor-community/screen-brightness": "^1.0.1",
"#capacitor/android": "3.4.1",
"#capacitor/core": "3.4.0",
"#capacitor/haptics": "1.1.4",
"#capacitor/ios": "3.4.0",
"#capacitor/keyboard": "1.2.1",
"#capacitor/splash-screen": "^1.2.1",
"#capacitor/status-bar": "1.0.7",
"#capacitor/storage": "^1.2.4",
"#ionic-native/dialogs": "^5.36.0",
"#ionic/react": "^6.0.0",
"#ionic/react-router": "^6.0.0",
"#types/react-redux": "^7.1.22",
"#types/redux": "^3.6.0",
"#types/redux-thunk": "^2.1.0",
"cordova-plugin-dialogs": "^2.0.2",
"ionicons": "^5.5.4",
"qrcode": "^1.5.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-redux": "^7.2.6",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"redux": "^4.1.2",
"redux-thunk": "^2.4.1",
"web-vitals": "^0.2.4",
"workbox-background-sync": "^5.1.4",
"workbox-broadcast-update": "^5.1.4",
"workbox-cacheable-response": "^5.1.4",
"workbox-core": "^5.1.4",
"workbox-expiration": "^5.1.4",
"workbox-google-analytics": "^5.1.4",
"workbox-navigation-preload": "^5.1.4",
"workbox-precaching": "^5.1.4",
"workbox-range-requests": "^5.1.4",
"workbox-routing": "^5.1.4",
"workbox-strategies": "^5.1.4",
"workbox-streams": "^5.1.4"
},
"devDependencies": {
"#capacitor/cli": "3.4.0",
"#ionic-native/core": "^5.36.0",
"#testing-library/jest-dom": "^5.11.9",
"#testing-library/react": "^11.2.5",
"#testing-library/user-event": "^12.6.3",
"#types/jest": "^26.0.20",
"#types/node": "^12.20.42",
"#types/qrcode": "^1.4.2",
"#types/react": "^16.14.22",
"#types/react-dom": "^16.9.14",
"#types/react-router": "^5.1.11",
"#types/react-router-dom": "^5.1.7",
"#types/redux-devtools-extension": "^2.13.2",
"cordova-res": "^0.15.4",
"react-scripts": "^5.0.0",
"redux-devtools-extension": "^2.13.9",
"rxjs": "^7.5.4",
"typescript": "^4.1.3"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"description": ""
}
Ionic Version
6.16.3
Gradle Version
------------------------------------------------------------
Gradle 6.7.1
------------------------------------------------------------
Build time: 2020-11-16 17:09:24 UTC
Revision: 2972ff02f3210d2ceed2f1ea880f026acfbab5c0
Kotlin: 1.3.72
Groovy: 2.5.12
Ant: Apache Ant(TM) version 1.10.8 compiled on May 10 2020
JVM: 15.0.2 (Oracle Corporation 15.0.2+7-27)
OS: Windows 10 10.0 amd64
Android Gradle Plugin Version
4.2.0
Build Output
Executing tasks: [:app:assembleDebug] in project C:\Users\user\Documents\Projects\ionic\app\android
AGPBI: {"kind":"warning","text":"Using flatDirs should be avoided because it doesn't support any meta-data formats.\nCurrently detected usages:\n- repository flatDir used in: project ':app', project ':capacitor-cordova-android-plugins'","sources":[{}]}
AGPBI: {"kind":"warning","text":"Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories.\nThis repository is deprecated and it will be shut down in the future.\nSee http://developer.android.com/r/tools/jcenter-end-of-service for more information.\nCurrently detected usages in: root project 'android', project ':app', project ':capacitor-android', ...","sources":[{}]}
AGPBI: {"kind":"warning","text":"The specified Android SDK Build Tools version (29.0.2) is ignored, as it is below the minimum supported version (30.0.2) for Android Gradle Plugin 4.2.0.\nAndroid SDK Build Tools 30.0.2 will be used.\nTo suppress this warning, remove \"buildToolsVersion '29.0.2'\" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.","sources":[{}]}
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :capacitor-android:preBuild UP-TO-DATE
> Task :capacitor-android:preDebugBuild UP-TO-DATE
> Task :capacitor-android:compileDebugAidl NO-SOURCE
> Task :capacitor-community-barcode-scanner:preBuild UP-TO-DATE
> Task :capacitor-community-barcode-scanner:preDebugBuild UP-TO-DATE
> Task :capacitor-community-barcode-scanner:compileDebugAidl NO-SOURCE
> Task :capacitor-community-screen-brightness:preBuild UP-TO-DATE
> Task :capacitor-community-screen-brightness:preDebugBuild UP-TO-DATE
> Task :capacitor-community-screen-brightness:compileDebugAidl NO-SOURCE
> Task :capacitor-cordova-android-plugins:preBuild UP-TO-DATE
> Task :capacitor-cordova-android-plugins:preDebugBuild UP-TO-DATE
> Task :capacitor-cordova-android-plugins:compileDebugAidl NO-SOURCE
> Task :capacitor-haptics:preBuild UP-TO-DATE
> Task :capacitor-haptics:preDebugBuild UP-TO-DATE
> Task :capacitor-haptics:compileDebugAidl NO-SOURCE
> Task :capacitor-keyboard:preBuild UP-TO-DATE
> Task :capacitor-keyboard:preDebugBuild UP-TO-DATE
> Task :capacitor-keyboard:compileDebugAidl NO-SOURCE
> Task :capacitor-splash-screen:preBuild UP-TO-DATE
> Task :capacitor-splash-screen:preDebugBuild UP-TO-DATE
> Task :capacitor-splash-screen:compileDebugAidl NO-SOURCE
> Task :capacitor-status-bar:preBuild UP-TO-DATE
> Task :capacitor-status-bar:preDebugBuild UP-TO-DATE
> Task :capacitor-status-bar:compileDebugAidl NO-SOURCE
> Task :capacitor-storage:preBuild UP-TO-DATE
> Task :capacitor-storage:preDebugBuild UP-TO-DATE
> Task :capacitor-storage:compileDebugAidl NO-SOURCE
> Task :app:compileDebugAidl NO-SOURCE
> Task :capacitor-android:packageDebugRenderscript NO-SOURCE
> Task :capacitor-community-barcode-scanner:packageDebugRenderscript NO-SOURCE
> Task :capacitor-community-screen-brightness:packageDebugRenderscript NO-SOURCE
> Task :capacitor-cordova-android-plugins:packageDebugRenderscript NO-SOURCE
> Task :capacitor-haptics:packageDebugRenderscript NO-SOURCE
> Task :capacitor-keyboard:packageDebugRenderscript NO-SOURCE
> Task :capacitor-splash-screen:packageDebugRenderscript NO-SOURCE
> Task :capacitor-status-bar:packageDebugRenderscript NO-SOURCE
> Task :capacitor-storage:packageDebugRenderscript NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:generateDebugBuildConfig UP-TO-DATE
> Task :app:javaPreCompileDebug UP-TO-DATE
> Task :capacitor-android:writeDebugAarMetadata UP-TO-DATE
> Task :capacitor-community-barcode-scanner:writeDebugAarMetadata UP-TO-DATE
> Task :capacitor-community-screen-brightness:writeDebugAarMetadata UP-TO-DATE
> Task :capacitor-cordova-android-plugins:writeDebugAarMetadata UP-TO-DATE
> Task :capacitor-haptics:writeDebugAarMetadata UP-TO-DATE
> Task :capacitor-keyboard:writeDebugAarMetadata UP-TO-DATE
> Task :capacitor-splash-screen:writeDebugAarMetadata UP-TO-DATE
> Task :capacitor-status-bar:writeDebugAarMetadata UP-TO-DATE
> Task :capacitor-storage:writeDebugAarMetadata UP-TO-DATE
> Task :app:checkDebugAarMetadata UP-TO-DATE
> Task :app:generateDebugResValues UP-TO-DATE
> Task :app:generateDebugResources UP-TO-DATE
> Task :capacitor-android:compileDebugRenderscript NO-SOURCE
> Task :capacitor-android:generateDebugResValues UP-TO-DATE
> Task :capacitor-android:generateDebugResources UP-TO-DATE
> Task :capacitor-android:packageDebugResources UP-TO-DATE
> Task :capacitor-community-barcode-scanner:compileDebugRenderscript NO-SOURCE
> Task :capacitor-community-barcode-scanner:generateDebugResValues UP-TO-DATE
> Task :capacitor-community-barcode-scanner:generateDebugResources UP-TO-DATE
> Task :capacitor-community-barcode-scanner:packageDebugResources UP-TO-DATE
> Task :capacitor-community-screen-brightness:compileDebugRenderscript NO-SOURCE
> Task :capacitor-community-screen-brightness:generateDebugResValues UP-TO-DATE
> Task :capacitor-community-screen-brightness:generateDebugResources UP-TO-DATE
> Task :capacitor-community-screen-brightness:packageDebugResources UP-TO-DATE
> Task :capacitor-cordova-android-plugins:compileDebugRenderscript NO-SOURCE
> Task :capacitor-cordova-android-plugins:generateDebugResValues UP-TO-DATE
> Task :capacitor-cordova-android-plugins:generateDebugResources UP-TO-DATE
> Task :capacitor-cordova-android-plugins:packageDebugResources UP-TO-DATE
> Task :capacitor-haptics:compileDebugRenderscript NO-SOURCE
> Task :capacitor-haptics:generateDebugResValues UP-TO-DATE
> Task :capacitor-haptics:generateDebugResources UP-TO-DATE
> Task :capacitor-haptics:packageDebugResources UP-TO-DATE
> Task :capacitor-keyboard:compileDebugRenderscript NO-SOURCE
> Task :capacitor-keyboard:generateDebugResValues UP-TO-DATE
> Task :capacitor-keyboard:generateDebugResources UP-TO-DATE
> Task :capacitor-keyboard:packageDebugResources UP-TO-DATE
> Task :capacitor-splash-screen:compileDebugRenderscript NO-SOURCE
> Task :capacitor-splash-screen:generateDebugResValues UP-TO-DATE
> Task :capacitor-splash-screen:generateDebugResources UP-TO-DATE
> Task :capacitor-splash-screen:packageDebugResources UP-TO-DATE
> Task :capacitor-status-bar:compileDebugRenderscript NO-SOURCE
> Task :capacitor-status-bar:generateDebugResValues UP-TO-DATE
> Task :capacitor-status-bar:generateDebugResources UP-TO-DATE
> Task :capacitor-status-bar:packageDebugResources UP-TO-DATE
> Task :capacitor-storage:compileDebugRenderscript NO-SOURCE
> Task :capacitor-storage:generateDebugResValues UP-TO-DATE
> Task :capacitor-storage:generateDebugResources UP-TO-DATE
> Task :capacitor-storage:packageDebugResources UP-TO-DATE
> Task :app:mergeDebugResources UP-TO-DATE
> Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
> Task :app:extractDeepLinksDebug UP-TO-DATE
> Task :capacitor-android:extractDeepLinksDebug UP-TO-DATE
> Task :capacitor-android:processDebugManifest UP-TO-DATE
> Task :capacitor-community-barcode-scanner:extractDeepLinksDebug UP-TO-DATE
> Task :capacitor-community-barcode-scanner:processDebugManifest UP-TO-DATE
> Task :capacitor-community-screen-brightness:extractDeepLinksDebug UP-TO-DATE
> Task :capacitor-community-screen-brightness:processDebugManifest UP-TO-DATE
> Task :capacitor-cordova-android-plugins:extractDeepLinksDebug UP-TO-DATE
> Task :capacitor-cordova-android-plugins:processDebugManifest UP-TO-DATE
> Task :capacitor-haptics:extractDeepLinksDebug UP-TO-DATE
> Task :capacitor-haptics:processDebugManifest UP-TO-DATE
> Task :capacitor-keyboard:extractDeepLinksDebug UP-TO-DATE
> Task :capacitor-keyboard:processDebugManifest UP-TO-DATE
> Task :capacitor-splash-screen:extractDeepLinksDebug UP-TO-DATE
> Task :capacitor-splash-screen:processDebugManifest UP-TO-DATE
> Task :capacitor-status-bar:extractDeepLinksDebug UP-TO-DATE
> Task :capacitor-status-bar:processDebugManifest UP-TO-DATE
> Task :capacitor-storage:extractDeepLinksDebug UP-TO-DATE
> Task :capacitor-storage:processDebugManifest UP-TO-DATE
> Task :app:processDebugMainManifest
> Task :app:processDebugManifest
> Task :capacitor-android:compileDebugLibraryResources UP-TO-DATE
> Task :capacitor-android:parseDebugLocalResources UP-TO-DATE
> Task :capacitor-android:generateDebugRFile UP-TO-DATE
> Task :capacitor-community-barcode-scanner:compileDebugLibraryResources UP-TO-DATE
> Task :capacitor-community-barcode-scanner:parseDebugLocalResources UP-TO-DATE
> Task :capacitor-community-barcode-scanner:generateDebugRFile UP-TO-DATE
> Task :capacitor-community-screen-brightness:compileDebugLibraryResources UP-TO-DATE
> Task :capacitor-community-screen-brightness:parseDebugLocalResources UP-TO-DATE
> Task :capacitor-community-screen-brightness:generateDebugRFile UP-TO-DATE
> Task :capacitor-cordova-android-plugins:compileDebugLibraryResources UP-TO-DATE
> Task :capacitor-cordova-android-plugins:parseDebugLocalResources UP-TO-DATE
> Task :capacitor-cordova-android-plugins:generateDebugRFile UP-TO-DATE
> Task :capacitor-haptics:compileDebugLibraryResources UP-TO-DATE
> Task :capacitor-haptics:parseDebugLocalResources UP-TO-DATE
> Task :capacitor-haptics:generateDebugRFile UP-TO-DATE
> Task :capacitor-keyboard:compileDebugLibraryResources UP-TO-DATE
> Task :capacitor-keyboard:parseDebugLocalResources UP-TO-DATE
> Task :capacitor-keyboard:generateDebugRFile UP-TO-DATE
> Task :capacitor-splash-screen:compileDebugLibraryResources UP-TO-DATE
> Task :capacitor-splash-screen:parseDebugLocalResources UP-TO-DATE
> Task :capacitor-splash-screen:generateDebugRFile UP-TO-DATE
> Task :capacitor-status-bar:compileDebugLibraryResources UP-TO-DATE
> Task :capacitor-status-bar:parseDebugLocalResources UP-TO-DATE
> Task :capacitor-status-bar:generateDebugRFile UP-TO-DATE
> Task :capacitor-storage:compileDebugLibraryResources UP-TO-DATE
> Task :capacitor-storage:parseDebugLocalResources UP-TO-DATE
> Task :capacitor-storage:generateDebugRFile UP-TO-DATE
> Task :capacitor-android:generateDebugBuildConfig UP-TO-DATE
> Task :capacitor-android:javaPreCompileDebug UP-TO-DATE
> Task :capacitor-android:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :capacitor-community-barcode-scanner:generateDebugBuildConfig UP-TO-DATE
> Task :capacitor-community-barcode-scanner:javaPreCompileDebug UP-TO-DATE
> Task :capacitor-community-screen-brightness:generateDebugBuildConfig UP-TO-DATE
> Task :capacitor-community-screen-brightness:javaPreCompileDebug UP-TO-DATE
> Task :capacitor-cordova-android-plugins:generateDebugBuildConfig UP-TO-DATE
> Task :capacitor-cordova-android-plugins:javaPreCompileDebug UP-TO-DATE
> Task :capacitor-android:bundleLibCompileToJarDebug
> Task :capacitor-cordova-android-plugins:compileDebugJavaWithJavac
Note: C:\Users\user\Documents\Projects\ionic\driver-app\qrcode-app\android\capacitor-cordova-android-plugins\src\main\java\org\apache\cordova\dialogs\Notification.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :capacitor-haptics:generateDebugBuildConfig UP-TO-DATE
> Task :capacitor-haptics:javaPreCompileDebug UP-TO-DATE
> Task :capacitor-keyboard:generateDebugBuildConfig UP-TO-DATE
> Task :capacitor-keyboard:javaPreCompileDebug UP-TO-DATE
> Task :capacitor-splash-screen:generateDebugBuildConfig UP-TO-DATE
> Task :capacitor-splash-screen:javaPreCompileDebug UP-TO-DATE
> Task :capacitor-cordova-android-plugins:bundleLibCompileToJarDebug
> Task :capacitor-status-bar:generateDebugBuildConfig UP-TO-DATE
> Task :capacitor-status-bar:javaPreCompileDebug UP-TO-DATE
> Task :capacitor-storage:generateDebugBuildConfig UP-TO-DATE
> Task :capacitor-storage:javaPreCompileDebug UP-TO-DATE
> Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :app:mergeDebugShaders UP-TO-DATE
> Task :app:compileDebugShaders NO-SOURCE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :capacitor-android:mergeDebugShaders UP-TO-DATE
> Task :capacitor-android:compileDebugShaders NO-SOURCE
> Task :capacitor-android:generateDebugAssets UP-TO-DATE
> Task :capacitor-android:packageDebugAssets UP-TO-DATE
> Task :capacitor-community-barcode-scanner:mergeDebugShaders UP-TO-DATE
> Task :capacitor-community-barcode-scanner:compileDebugShaders NO-SOURCE
> Task :capacitor-community-barcode-scanner:generateDebugAssets UP-TO-DATE
> Task :capacitor-community-barcode-scanner:packageDebugAssets UP-TO-DATE
> Task :capacitor-community-screen-brightness:mergeDebugShaders UP-TO-DATE
> Task :capacitor-community-screen-brightness:compileDebugShaders NO-SOURCE
> Task :capacitor-community-screen-brightness:generateDebugAssets UP-TO-DATE
> Task :capacitor-community-screen-brightness:packageDebugAssets UP-TO-DATE
> Task :capacitor-cordova-android-plugins:mergeDebugShaders UP-TO-DATE
> Task :capacitor-cordova-android-plugins:compileDebugShaders NO-SOURCE
> Task :capacitor-cordova-android-plugins:generateDebugAssets UP-TO-DATE
> Task :capacitor-cordova-android-plugins:packageDebugAssets UP-TO-DATE
> Task :capacitor-haptics:mergeDebugShaders UP-TO-DATE
> Task :capacitor-haptics:compileDebugShaders NO-SOURCE
> Task :capacitor-haptics:generateDebugAssets UP-TO-DATE
> Task :capacitor-haptics:packageDebugAssets UP-TO-DATE
> Task :capacitor-keyboard:mergeDebugShaders UP-TO-DATE
> Task :capacitor-keyboard:compileDebugShaders NO-SOURCE
> Task :capacitor-keyboard:generateDebugAssets UP-TO-DATE
> Task :capacitor-keyboard:packageDebugAssets UP-TO-DATE
> Task :capacitor-splash-screen:mergeDebugShaders UP-TO-DATE
> Task :capacitor-splash-screen:compileDebugShaders NO-SOURCE
> Task :capacitor-splash-screen:generateDebugAssets UP-TO-DATE
> Task :capacitor-splash-screen:packageDebugAssets UP-TO-DATE
> Task :capacitor-status-bar:mergeDebugShaders UP-TO-DATE
> Task :capacitor-status-bar:compileDebugShaders NO-SOURCE
> Task :capacitor-status-bar:generateDebugAssets UP-TO-DATE
> Task :capacitor-status-bar:packageDebugAssets UP-TO-DATE
> Task :capacitor-storage:mergeDebugShaders UP-TO-DATE
> Task :capacitor-storage:compileDebugShaders NO-SOURCE
> Task :capacitor-storage:generateDebugAssets UP-TO-DATE
> Task :capacitor-storage:packageDebugAssets UP-TO-DATE
> Task :app:mergeDebugAssets
> Task :app:processDebugJavaRes NO-SOURCE
> Task :capacitor-android:processDebugJavaRes NO-SOURCE
> Task :capacitor-android:bundleLibResDebug NO-SOURCE
> Task :app:compressDebugAssets
> Task :capacitor-community-barcode-scanner:processDebugJavaRes NO-SOURCE
> Task :capacitor-community-barcode-scanner:bundleLibResDebug NO-SOURCE
> Task :capacitor-community-screen-brightness:processDebugJavaRes NO-SOURCE
> Task :capacitor-community-screen-brightness:bundleLibResDebug NO-SOURCE
> Task :capacitor-cordova-android-plugins:processDebugJavaRes NO-SOURCE
> Task :capacitor-cordova-android-plugins:bundleLibResDebug NO-SOURCE
> Task :capacitor-haptics:processDebugJavaRes NO-SOURCE
> Task :capacitor-haptics:bundleLibResDebug NO-SOURCE
> Task :capacitor-keyboard:processDebugJavaRes NO-SOURCE
> Task :capacitor-keyboard:bundleLibResDebug NO-SOURCE
> Task :capacitor-splash-screen:processDebugJavaRes NO-SOURCE
> Task :capacitor-splash-screen:bundleLibResDebug NO-SOURCE
> Task :capacitor-status-bar:processDebugJavaRes NO-SOURCE
> Task :capacitor-status-bar:bundleLibResDebug NO-SOURCE
> Task :capacitor-storage:processDebugJavaRes NO-SOURCE
> Task :capacitor-storage:bundleLibResDebug NO-SOURCE
> Task :app:mergeDebugJavaResource UP-TO-DATE
> Task :app:checkDebugDuplicateClasses UP-TO-DATE
> Task :app:desugarDebugFileDependencies
> Task :capacitor-android:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :app:mergeDebugJniLibFolders UP-TO-DATE
> Task :capacitor-android:mergeDebugJniLibFolders UP-TO-DATE
> Task :capacitor-android:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-android:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-android:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :capacitor-community-barcode-scanner:mergeDebugJniLibFolders UP-TO-DATE
> Task :capacitor-community-barcode-scanner:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-community-barcode-scanner:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-community-barcode-scanner:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :capacitor-community-screen-brightness:mergeDebugJniLibFolders UP-TO-DATE
> Task :capacitor-community-screen-brightness:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-community-screen-brightness:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-community-screen-brightness:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :capacitor-cordova-android-plugins:mergeDebugJniLibFolders UP-TO-DATE
> Task :capacitor-cordova-android-plugins:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-cordova-android-plugins:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-cordova-android-plugins:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :capacitor-haptics:mergeDebugJniLibFolders UP-TO-DATE
> Task :capacitor-haptics:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-haptics:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-haptics:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :capacitor-cordova-android-plugins:bundleLibRuntimeToDirDebug
> Task :capacitor-keyboard:mergeDebugJniLibFolders UP-TO-DATE
> Task :capacitor-keyboard:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-keyboard:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-keyboard:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :capacitor-splash-screen:mergeDebugJniLibFolders UP-TO-DATE
> Task :capacitor-splash-screen:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-splash-screen:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-splash-screen:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :capacitor-status-bar:mergeDebugJniLibFolders UP-TO-DATE
> Task :capacitor-status-bar:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-status-bar:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-status-bar:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :capacitor-storage:mergeDebugJniLibFolders UP-TO-DATE
> Task :capacitor-storage:mergeDebugNativeLibs NO-SOURCE
> Task :capacitor-storage:stripDebugDebugSymbols NO-SOURCE
> Task :capacitor-storage:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :app:mergeDebugNativeLibs UP-TO-DATE
> Task :app:stripDebugDebugSymbols NO-SOURCE
> Task :app:validateSigningDebug UP-TO-DATE
> Task :app:writeDebugAppMetadata UP-TO-DATE
> Task :app:writeDebugSigningConfigVersions
> Task :capacitor-community-barcode-scanner:compileDebugJavaWithJavac
Note: C:\Users\user\Documents\Projects\ionic\driver-app\qrcode-app\node_modules\#capacitor-community\barcode-scanner\android\src\main\java\com\dutchconcepts\capacitor\barcodescanner\BarcodeScanner.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :capacitor-community-barcode-scanner:bundleLibCompileToJarDebug
> Task :capacitor-community-screen-brightness:compileDebugJavaWithJavac
> Task :app:processDebugManifestForPackage
> Task :capacitor-community-screen-brightness:bundleLibCompileToJarDebug
> Task :app:mergeExtDexDebug
> Task :capacitor-haptics:compileDebugJavaWithJavac
> Task :capacitor-haptics:bundleLibCompileToJarDebug
> Task :capacitor-keyboard:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :capacitor-keyboard:bundleLibCompileToJarDebug
> Task :capacitor-splash-screen:compileDebugJavaWithJavac
Note: C:\Users\user\Documents\Projects\ionic\driver-app\qrcode-app\node_modules\#capacitor\splash-screen\android\src\main\java\com\capacitorjs\plugins\splashscreen\SplashScreen.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :capacitor-splash-screen:bundleLibCompileToJarDebug
> Task :capacitor-status-bar:compileDebugJavaWithJavac
Note: C:\Users\user\Documents\Projects\ionic\driver-app\qrcode-app\node_modules\#capacitor\status-bar\android\src\main\java\com\capacitorjs\plugins\statusbar\StatusBar.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :capacitor-status-bar:bundleLibCompileToJarDebug
> Task :capacitor-storage:compileDebugJavaWithJavac
> Task :capacitor-community-barcode-scanner:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :capacitor-community-screen-brightness:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :capacitor-storage:bundleLibCompileToJarDebug
> Task :capacitor-haptics:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :capacitor-keyboard:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :capacitor-splash-screen:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :capacitor-status-bar:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :capacitor-storage:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :app:processDebugResources
> Task :app:mergeLibDexDebug
> Task :app:compileDebugJavaWithJavac
> Task :app:compileDebugSources
> Task :app:dexBuilderDebug
> Task :app:mergeProjectDexDebug
> Task :app:packageDebug
> Task :app:assembleDebug
BUILD SUCCESSFUL in 3s
181 actionable tasks: 33 executed, 148 up-to-date
Build Analyzer results available
Android Studio Version
Android Studio Bumblebee | 2021.1.1 Patch 1
JDK Version
jdk1.8.0_202
It should be good, if you send us the errors you are getting. But let me try to explain. It can be a mistake on the tabs-routing.module.ts file. So, let the field path: '' empty on the route like the example below:
const routes: Routes = [
{
path: '',
component: TabsPage,
children: [
{
path: 'tab1',
loadChildren: () => import('../tab1/tab1.module').then(m => m.Tab1PageModule)
},
{
path: 'tab2',
loadChildren: () => import('../tab2/tab2.module').then(m => m.Tab2PageModule)
},
{
path: 'tab3',
loadChildren: () => import('../tab3/tab3.module').then(m => m.Tab3PageModule)
},
{
path: '',
redirectTo: '/tabs/tab1',
pathMatch: 'full'
}
]
},
{
path: '',
redirectTo: '/tabs/tab1',
pathMatch: 'full'
}
];
Task :app:preBuild UP-TO-DATE
Task :app:preDebugBuild UP-TO-DATE
Task :app:compileDebugAidl NO-SOURCE (Don't know how to fix)
Task :app:generateDebugBuildConfig UP-TO-DATE
Task :app:compileDebugRenderscript NO-SOURCE (Don't know how to fix)
Task :app:javaPreCompileDebug UP-TO-DATE
Task :app:mainApkListPersistenceDebug UP-TO-DATE
Task :app:generateDebugResValues UP-TO-DATE
Task :app:generateDebugResources UP-TO-DATE
Task :app:mergeDebugResources UP-TO-DATE
Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
Task :app:extractDeepLinksDebug UP-TO-DATE
Task :app:processDebugManifest UP-TO-DATE
Task :app:processDebugResources UP-TO-DATE
Task :app:compileDebugJavaWithJavac UP-TO-DATE
Task :app:compileDebugSources UP-TO-DATE
Task :app:mergeDebugShaders UP-TO-DATE
Task :app:compileDebugShaders UP-TO-DATE
Task :app:generateDebugAssets UP-TO-DATE
Task :app:mergeDebugAssets UP-TO-DATE
Task :app:processDebugJavaRes NO-SOURCE (Don't know how to fix)
Task :app:mergeDebugJavaResource UP-TO-DATE
Task :app:dexBuilderDebug UP-TO-DATE
Task :app:checkDebugDuplicateClasses UP-TO-DATE
Task :app:mergeExtDexDebug UP-TO-DATE
Task :app:mergeLibDexDebug UP-TO-DATE
Task :app:mergeProjectDexDebug UP-TO-DATE
Task :app:mergeDebugJniLibFolders UP-TO-DATE
Task :app:validateSigningDebug UP-TO-DATE
Task :app:mergeDebugNativeLibs UP-TO-DATE
Task :app:stripDebugDebugSymbols UP-TO-DATE
Task :app:packageDebug UP-TO-DATE
Task :app:assembleDebug UP-TO-DATE
BUILD SUCCESSFUL in 5s
24 actionable tasks: 24 up-to-date