apk has been build but the URL i have pointed on www/index.html file its not opening on the app its only loading. and i have got this logs after running the command
$ ionic cordova build android
> cordova build android
Android Studio project detected
cp: copyFileSync: could not write to dest file (code=EPERM):C:\Users\User\Desktop\baechat\platforms\android\app\src\main\assets\www\img\Thumbs.db
cp: copyFileSync: could not write to dest file (code=EPERM):C:\Users\User\Desktop\baechat\platforms\android\app\src\main\assets\www\lib\awlert\demo\resources\Thumbs.db
cp: copyFileSync: could not write to dest file (code=EPERM):C:\Users\User\Desktop\baechat\platforms\android\app\src\main\assets\www\lib\awlert\demo\resources\android\icon\Thumbs.db
cp: copyFileSync: could not write to dest file (code=EPERM):C:\Users\User\Desktop\baechat\platforms\android\app\src\main\assets\www\lib\awlert\demo\resources\ios\icon\Thumbs.db
cp: copyFileSync: could not write to dest file (code=EPERM):C:\Users\User\Desktop\baechat\platforms\android\app\src\main\assets\www\lib\ionic-ion-tinder-cards\example\www\res\icon\android\Thumbs.db
cp: copyFileSync: could not write to dest file (code=EPERM):C:\Users\User\Desktop\baechat\platforms\android\app\src\main\assets\www\lib\ionic-ion-tinder-cards\example\www\res\icon\bada-wac\Thumbs.db
cp: copyFileSync: could not write to dest file (code=EPERM):C:\Users\User\Desktop\baechat\platforms\android\app\src\main\assets\www\lib\ionic-ion-tinder-cards\example\www\res\icon\bada\Thumbs.db
cp: copyFileSync: could not write to dest file (code=EPERM):C:\Users\User\Desktop\baechat\platforms\android\app\src\main\assets\www\lib\ionic-ion-tinder-cards\example\www\res\icon\blackberry\Thumbs.db
cp: copyFileSync: could not write to dest file (code=EPERM):C:\Users\User\Desktop\baechat\platforms\android\app\src\main\assets\www\lib\ionic-ion-tinder-cards\example\www\res\icon\ios\Thumbs.db
cp: copyFileSync: could not write to dest file (code=EPERM):C:\Users\User\Desktop\baechat\platforms\android\app\src\main\assets\www\lib\ionic-ion-tinder-cards\example\www\res\icon\tizen\Thumbs.db
cp: copyFileSync: could not write to dest file (code=EPERM):C:\Users\User\Desktop\baechat\platforms\android\app\src\main\assets\www\lib\ionic-ion-tinder-cards\example\www\res\icon\webos\Thumbs.db
cp: copyFileSync: could not write to dest file (code=EPERM):C:\Users\User\Desktop\baechat\platforms\android\app\src\main\assets\www\lib\ionic-ion-tinder-cards\example\www\res\icon\windows-phone\Thumbs.db
Running command: “C:\Program Files\nodejs\node.exe” C:\Users\User\Desktop\baechat\hooks\after_prepare\010_add_platform_class.js C:\Users\User\Desktop\baechat
ANDROID_HOME=C:\Users\win8\android-sdks
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_161
studio
Starting a Gradle Daemon (subsequent builds will be faster)
:wrapper
BUILD SUCCESSFUL in 26s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
Starting a Gradle Daemon (subsequent builds will be faster)
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
File C:\Users\User.android\repositories.cfg could not be loaded.
Checking the license for package Android SDK Platform 26 in C:\Users\win8\android-sdks\licenses
License for package Android SDK Platform 26 accepted.
Preparing “Install Android SDK Platform 26 (revision: 2)”.
"Install Android SDK Platform 26 (revision: 2)" ready.
Installing Android SDK Platform 26 in C:\Users\win8\android-sdks\platforms\android-26
"Install Android SDK Platform 26 (revision: 2)" complete.
"Install Android SDK Platform 26 (revision: 2)" finished.
Download https://repo1.maven.org/maven2/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
** at build_dvnle02kivhqqebpazfeb5cwn.run(C:\Users\User\Desktop\baechat\platforms\android\app\build.gradle:143)**
:CordovaLib:preBuild
** UP-TO-DATE**
:CordovaLib:preDebugBuild
UP-TO-DATE
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugRenderscript
:CordovaLib:checkDebugManifest
:CordovaLib:generateDebugBuildConfig
:CordovaLib:prepareLintJar
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:platformAttrExtractor
:CordovaLib:processDebugManifest
:CordovaLib:javaPreCompileDebug
:CordovaLib:processDebugJavaRes
NO-SOURCE
:app:preBuild
** UP-TO-DATE**
:app:preDebugBuild
:app:compileDebugAidl
:CordovaLib:packageDebugRenderscript
NO-SOURCE
:app:compileDebugRenderscript
:app:checkDebugManifest
:app:generateDebugBuildConfig
:app:prepareLintJar
:app:generateDebugResValues
:app:generateDebugResources
:app:mergeDebugResources
:app:createDebugCompatibleScreenManifests
:app:processDebugManifest
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug
:app:splitsDiscoveryTaskDebug
:app:processDebugResources
:app:generateDebugSources
:app:javaPreCompileDebug
:app:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:app:compileDebugNdk
NO-SOURCE
:app:compileDebugSources
:CordovaLib:mergeDebugShaders
:CordovaLib:compileDebugShaders
:CordovaLib:generateDebugAssets
:CordovaLib:mergeDebugAssets
:app:mergeDebugShaders
:app:compileDebugShaders
:app:generateDebugAssets
:app:mergeDebugAssets
:app:extractTryWithResourcesSupportJarDebug
:app:transformClassesWithStackFramesFixerForDebug
:app:transformClassesWithDesugarForDebug
:app:transformClassesWithDexBuilderForDebug
:app:transformDexArchiveWithExternalLibsDexMergerForDebug
:app:transformDexArchiveWithDexMergerForDebug
:CordovaLib:compileDebugNdk
NO-SOURCE
:CordovaLib:mergeDebugJniLibFolders
:CordovaLib:transformNativeLibsWithMergeJniLibsForDebug
:CordovaLib:transformNativeLibsWithIntermediateJniLibsForDebug
:app:mergeDebugJniLibFolders
:app:transformNativeLibsWithMergeJniLibsForDebug
:app:processDebugJavaRes
NO-SOURCE
:app:transformResourcesWithMergeJavaResForDebug
:app:validateSigningDebug
:app:packageDebug
:app:assembleDebug
:app:cdvBuildDebug
BUILD SUCCESSFUL in 4m 9s
47 actionable tasks: 47 executed
Built the following apk(s):
** C:\Users\User\Desktop\baechat\platforms\android\app\build\outputs\apk\debug\app-debug.apk**