Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Capacitor Android White Screen. Console.log show empty

$
0
0

@hendryzheng9207 wrote:

Ionic:

Ionic CLI : 5.4.16 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 5.0.7
@angular-devkit/build-angular : 0.803.26
@angular-devkit/schematics : 8.3.26
@angular/cli : 8.3.26
@ionic/angular-toolkit : 2.2.0

Capacitor:

Capacitor CLI : 2.0.1
@capacitor/core : 2.0.1

Utility:

cordova-res (update available: 0.13.0) : 0.11.0
native-run (update available: 1.0.0) : 0.2.7

System:

NodeJS : v12.16.1 (/usr/local/Cellar/node/13.11.0/bin/node)
npm : 6.13.4
OS : macOS Catalina

Executing tasks: [:app:assembleDebug] in project xxxxx

Configure project :app
WARNING: Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’ and ‘api’.
It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

Configure project :capacitor-android
WARNING: API ‘variant.getJavaCompiler()’ is obsolete and has been replaced with ‘variant.getJavaCompileProvider()’.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getJavaCompiler(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
WARNING: API ‘variantOutput.getPackageLibrary()’ is obsolete and has been replaced with ‘variant.getPackageLibraryProvider()’.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variantOutput.getPackageLibrary(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.

Configure project :capacitor-cordova-android-plugins
WARNING: Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’ and ‘api’.
It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

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-cordova-android-plugins:preBuild UP-TO-DATE
Task :capacitor-cordova-android-plugins:preDebugBuild UP-TO-DATE
Task :capacitor-android:packageDebugRenderscript NO-SOURCE
Task :capacitor-android:compileDebugAidl NO-SOURCE
Task :capacitor-cordova-android-plugins:compileDebugAidl NO-SOURCE
Task :app:compileDebugAidl NO-SOURCE
Task :capacitor-cordova-android-plugins:packageDebugRenderscript NO-SOURCE
Task :app:compileDebugRenderscript NO-SOURCE
Task :app:generateDebugBuildConfig
Task :capacitor-android:generateDebugBuildConfig
Task :capacitor-android:compileDebugRenderscript NO-SOURCE
Task :capacitor-android:generateDebugResValues
Task :capacitor-android:generateDebugResources
Task :capacitor-android:packageDebugResources
Task :capacitor-android:parseDebugLocalResources
Task :capacitor-cordova-android-plugins:generateDebugBuildConfig
Task :capacitor-cordova-android-plugins:compileDebugRenderscript NO-SOURCE
Task :capacitor-android:javaPreCompileDebug
Task :capacitor-cordova-android-plugins:generateDebugResValues
Task :capacitor-cordova-android-plugins:generateDebugResources
Task :capacitor-cordova-android-plugins:packageDebugResources
Task :capacitor-android:processDebugManifest
Task :capacitor-cordova-android-plugins:parseDebugLocalResources
Task :capacitor-cordova-android-plugins:javaPreCompileDebug
Task :capacitor-cordova-android-plugins:processDebugManifest
Task :app:mainApkListPersistenceDebug
Task :app:generateDebugResValues
Task :app:generateDebugResources

Task :app:processDebugGoogleServices
Parsing json file: /Users/xxxxx

Task :capacitor-android:generateDebugRFile

Task :capacitor-android:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Task :app:mergeDebugResources
Task :capacitor-cordova-android-plugins:generateDebugRFile

Task :capacitor-cordova-android-plugins: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-android:bundleLibCompileDebug
Task :app:createDebugCompatibleScreenManifests
Task :app:extractDeepLinksDebug
Task :capacitor-android:extractDeepLinksDebug
Task :capacitor-cordova-android-plugins:extractDeepLinksDebug
Task :app:processDebugManifest
Task :capacitor-cordova-android-plugins:bundleLibCompileDebug
Task :capacitor-android:compileDebugLibraryResources
Task :capacitor-cordova-android-plugins:compileDebugLibraryResources
Task :app:processDebugResources
Task :app:javaPreCompileDebug
Task :app:compileDebugJavaWithJavac
Task :app:compileDebugSources
Task :app:mergeDebugShaders
Task :app:compileDebugShaders
Task :app:generateDebugAssets
Task :capacitor-android:mergeDebugShaders
Task :capacitor-android:compileDebugShaders
Task :capacitor-android:generateDebugAssets
Task :capacitor-android:packageDebugAssets
Task :capacitor-cordova-android-plugins:mergeDebugShaders
Task :capacitor-cordova-android-plugins:compileDebugShaders
Task :capacitor-cordova-android-plugins:generateDebugAssets
Task :capacitor-cordova-android-plugins:packageDebugAssets
Task :app:mergeDebugAssets
Task :app:processDebugJavaRes NO-SOURCE
Task :capacitor-android:processDebugJavaRes NO-SOURCE
Task :capacitor-cordova-android-plugins:processDebugJavaRes NO-SOURCE
Task :capacitor-android:bundleLibResDebug
Task :capacitor-cordova-android-plugins:bundleLibResDebug
Task :app:checkDebugDuplicateClasses
Task :app:desugarDebugFileDependencies
Task :capacitor-android:bundleLibRuntimeDebug
Task :capacitor-cordova-android-plugins:bundleLibRuntimeDebug
Task :app:dexBuilderDebug
Task :app:mergeDebugJavaResource
Task :app:mergeDebugJniLibFolders
Task :capacitor-android:mergeDebugJniLibFolders
Task :capacitor-cordova-android-plugins:mergeDebugJniLibFolders
Task :app:validateSigningDebug
Task :capacitor-android:mergeDebugNativeLibs
Task :capacitor-android:stripDebugDebugSymbols
Task :capacitor-android:copyDebugJniLibsProjectOnly
Task :capacitor-cordova-android-plugins:mergeDebugNativeLibs
Task :capacitor-cordova-android-plugins:stripDebugDebugSymbols
Task :capacitor-cordova-android-plugins:copyDebugJniLibsProjectOnly
Task :app:mergeProjectDexDebug
Task :app:mergeDebugNativeLibs
Task :app:stripDebugDebugSymbols
Task :app:mergeLibDexDebug
Task :app:mergeExtDexDebug
Task :app:packageDebug
Task :app:assembleDebug

BUILD SUCCESSFUL in 21s
66 actionable tasks: 66 executed

After install capacitor for android, and run on device, it shows empty white screen. Console.log, nothing shows.

Please help T.T

Any help will be much appreciated.
Have already tried 3 days no clues here.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>