Alpha DevCon 2018
Results 1 to 13 of 13

Thread: Android PhoneGap Build

  1. #1
    Member
    Real Name
    Carl B Smith
    Join Date
    Jun 2012
    Posts
    279

    Default Android PhoneGap Build

    I am having trouble uploading an Android version of my PhoneGap Build. IOS works great, but I get errors on the Android side. I've gone through all the process of creating my keystore file, I think I am good there. Here is the error log I am getting on the PhoneGap build site:

    Build Date: 2018-02-09 21:12:56 +0000
    --------------------------------------------------------------------------------
    PLUGIN OUTPUT
    --------------------------------------------------------------------------------
    Fetching plugin "cordova-plugin-network-information@1.3.4" via npm
    Installing "cordova-plugin-network-information" at "1.3.4" for android
    Fetching plugin "cordova-plugin-dialogs@1.3.4" via npm
    Installing "cordova-plugin-dialogs" at "1.3.4" for android
    Fetching plugin "cordova-plugin-x-toast@2.6.0" via npm
    Installing "cordova-plugin-x-toast" at "2.6.0" for android
    Fetching plugin "cordova-plugin-whitelist@1.3.3" via npm
    Installing "cordova-plugin-whitelist" at "1.3.3" for android

    This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.
    Fetching plugin "https://github.com/remoorejr/DocumentHandler.git" via git clone
    Using shallow clone
    Repository "https://github.com/remoorejr/DocumentHandler.git" checked out to git ref "master" at "f501154".
    Installing "ch.ti8m.documenthandler" at "0.2.2" for android
    Fetching plugin "cordova-plugin-splashscreen@4.1.0" via npm
    Installing "cordova-plugin-splashscreen" at "4.1.0" for android
    Fetching plugin "cordova-open" via npm
    Installing "cordova-open" at "1.0.12" for android
    Fetching plugin "cordova-plugin-file" via npm
    Installing "cordova-plugin-file" at "6.0.1" for android
    Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0
    Skipping 'cordova-plugin-file' for android
    Fetching plugin "cordova-plugin-file-transfer" via npm
    Installing "cordova-plugin-file-transfer" at "1.7.1" for android
    Plugin dependency "cordova-plugin-file@6.0.1" already fetched, using that version.
    Installing "cordova-plugin-file" at "6.0.1" for android
    Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0
    Skipping 'cordova-plugin-file' for android
    --------------------------------------------------------------------------------
    COMPILE OUTPUT
    --------------------------------------------------------------------------------
    Configuration on demand is an incubating feature.
    :wrapper

    BUILD SUCCESSFUL in 0s
    1 actionable task: 1 executed
    Subproject Path: CordovaLib
    Configuration on demand is an incubating feature.
    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_cz3f2mcxpl5igbjiglney9wmk.run(/project/build.gradle:137)
    The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
    Incremental java compilation is an incubating feature.
    The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
    :preBuild UP-TO-DATE
    :preDebugBuild UP-TO-DATE
    :checkDebugManifest
    :CordovaLib:preBuild UP-TO-DATE
    :CordovaLib:preDebugBuild UP-TO-DATE
    :CordovaLib:checkDebugManifest
    :CordovaLib:prepareDebugDependencies
    :CordovaLib:compileDebugAidl
    :CordovaLib:compileDebugNdk UP-TO-DATE
    :CordovaLib:compileLint
    :CordovaLib:copyDebugLint UP-TO-DATE
    :CordovaLib:mergeDebugShaders
    :CordovaLib:compileDebugShaders
    :CordovaLib:generateDebugAssets
    :CordovaLib:mergeDebugAssets
    :CordovaLib:mergeDebugProguardFiles
    :CordovaLib:packageDebugRenderscript UP-TO-DATE
    :CordovaLib:compileDebugRenderscript
    :CordovaLib:generateDebugResValues
    :CordovaLib:generateDebugResources
    :CordovaLib:packageDebugResources
    :CordovaLib:processDebugManifest
    :CordovaLib:generateDebugBuildConfig
    :CordovaLib:processDebugResources
    :CordovaLib:generateDebugSources
    :CordovaLib:incrementalDebugJavaCompilationSafeguard
    :CordovaLib:compileDebugJavaWithJavac
    :CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    :CordovaLib:processDebugJavaRes UP-TO-DATE
    :CordovaLib:transformResourcesWithMergeJavaResForDebug
    :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
    :CordovaLib:mergeDebugJniLibFolders
    :CordovaLib:transformNative_libsWithMergeJniLibsForDebug
    :CordovaLib:transformNative_libsWithSyncJniLibsForDebug
    :CordovaLib:bundleDebug
    :prepareOrgApacheCordovaCordovaLib623DebugLibrary
    :prepareDebugDependencies
    :compileDebugAidl
    :compileDebugRenderscript
    :generateDebugBuildConfig
    :generateDebugResValues
    :generateDebugResources
    :mergeDebugResources
    :processDebugManifest
    :processDebugResources
    :generateDebugSources
    :incrementalDebugJavaCompilationSafeguard
    :compileDebugJavaWithJavac
    :compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
    /project/src/org/apache/cordova/filetransfer/FileTransfer.java:49: error: package org.apache.cordova.file does not exist
    import org.apache.cordova.file.FileUtils;
    ^
    /project/src/org/apache/cordova/filetransfer/FileTransfer.java:851: error: cannot find symbol
    FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
    ^
    symbol: class FileUtils
    /project/src/org/apache/cordova/filetransfer/FileTransfer.java:851: error: cannot find symbol
    FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
    ^
    symbol: class FileUtils
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: /project/src/org/apache/cordova/filetransfer/FileTransfer.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    3 errors
    :compileDebugJavaWithJavac FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':compileDebugJavaWithJavac'.
    > Compilation failed; see the compiler error output for details.

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    BUILD FAILED

    Total time: 1.335 secs
    Error: /project/gradlew: Command failed with exit code 1 Error output:
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    /project/src/org/apache/cordova/filetransfer/FileTransfer.java:49: error: package org.apache.cordova.file does not exist
    import org.apache.cordova.file.FileUtils;
    ^
    /project/src/org/apache/cordova/filetransfer/FileTransfer.java:851: error: cannot find symbol
    FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
    ^
    symbol: class FileUtils
    /project/src/org/apache/cordova/filetransfer/FileTransfer.java:851: error: cannot find symbol
    FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
    ^
    symbol: class FileUtils
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: /project/src/org/apache/cordova/filetransfer/FileTransfer.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    3 errors

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':compileDebugJavaWithJavac'.
    > Compilation failed; see the compiler error output for details.

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    at ChildProcess.whenDone (/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

  2. #2
    Member
    Real Name
    Dave
    Join Date
    Jul 2012
    Location
    Southern California
    Posts
    620

    Default Re: Android PhoneGap Build

    You need to use the following for Android. They are fine for iOS too.

    <plugin name="cordova-plugin-file-transfer" source="npm" version="1.5.1" />
    <plugin name="cordova-plugin-file" source="npm" version="4.3.3" />

  3. #3
    Member
    Real Name
    Carl B Smith
    Join Date
    Jun 2012
    Posts
    279

    Default Re: Android PhoneGap Build

    Thanks. I was reading up on this some and came to a similar conclusion. But now what I am struggling with is how to actually use these different plug versions. I read somewhere that I am supposed to change the config.xml file. Where is that? If anyone has clear documentation, I would love to see it. Thanks!

  4. #4
    Member
    Real Name
    Dave
    Join Date
    Jul 2012
    Location
    Southern California
    Posts
    620

    Default Re: Android PhoneGap Build

    I don't know if this is documented, but if the name of your PhoneGap app is "TestApp", then the config.xml file would reside in Default.WebProject\PhoneGapProjects\TestApp\www.

    What Alpha Anywhere build are you using? Some pre-release versions of AA released in the Fall of 2017 had some issues with how plugins and versions were inserted in config.xml. I believe this was fixed with a pre-release build in December.

  5. #5
    Member
    Real Name
    Dave
    Join Date
    Jul 2012
    Location
    Southern California
    Posts
    620

    Default Re: Android PhoneGap Build

    If you're using a current pre-release build, the AA PhoneGap builder should automatically insert the correct plugin version for any plugin you select within the builder. However, if you need a plugin which is not listed in the builder, you will need to manually add it to config.xml. I think you can also use the "Manage My PhoneGap Plugins" button to enter 3rd party plugins not listed in the builder. I have never used this before and I'm not sure how well it works. This feature wasn't available when I started using the PhoneGap builder so I got use to manually updating config.xml. There are other times you might need to manually updating config.xml. It's not just when you need to add a plugin that is not listed in the builder.

  6. #6
    Member
    Real Name
    Carl B Smith
    Join Date
    Jun 2012
    Posts
    279

    Default Re: Android PhoneGap Build

    Ok, thanks. I see the config file now. And I am currently running version 12.4.5.2, build 4770.

    Here is the section of my config that mentions the plugins:

    <access origin="*" />
    <platform name="ios" />
    <plugin name="cordova-plugin-network-information" source="npm" version="1.3.4" />
    <plugin name="cordova-plugin-dialogs" source="npm" version="1.3.4" />
    <plugin name="cordova-plugin-x-toast" source="npm" version="2.6.0" />
    <plugin name="cordova-plugin-whitelist" source="npm" version="1.3.3" />
    <plugin spec="https://github.com/remoorejr/DocumentHandler.git" source="git" />
    <plugin name="cordova-plugin-splashscreen" source="npm" version="4.1.0" />
    <plugin name="cordova-open" source="npm" />
    <platform name="android" />
    </widget>


    So could I just do this:

    <access origin="*" />
    <platform name="ios" />
    <plugin name="cordova-plugin-network-information" source="npm" version="1.3.4" />
    <plugin name="cordova-plugin-dialogs" source="npm" version="1.3.4" />
    <plugin name="cordova-plugin-x-toast" source="npm" version="2.6.0" />
    <plugin name="cordova-plugin-whitelist" source="npm" version="1.3.3" />
    <plugin spec="https://github.com/remoorejr/DocumentHandler.git" source="git" />
    <plugin name="cordova-plugin-splashscreen" source="npm" version="4.1.0" />
    <plugin name="cordova-open" source="npm" />
    <platform name="android" />
    <plugin name="cordova-plugin-file-transfer" source="npm" version="1.5.1" />
    <plugin name="cordova-plugin-file" source="npm" version="4.3.3" />

    </widget>


    Is there anything I have to download? Or do I literally just modify this config file to include these two plugins?

  7. #7
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    6,708

    Default Re: Android PhoneGap Build

    You don't need to download anything... PhoneGap Build takes care of that. What you've added is fine... but you don't really need to add the full plugin line. In the Alpha PhoneGap Build Builder you can just "check" the File and File Transfer plugins... then edit your config file and add in the versions. If you click "Save" in the builder... the next dialog will include a link... "Click here to view/edit..." which will open your config file for editing.

    Check this thread for versions...

    https://www.alphasoftware.com/alphaf...light=phonegap

    This whole process has been generally fixed in the current pre-release.

    Before you submit to PhoneGap Build, do a quick check of your config file for duplicate plugins... this whole thing was quite a mess for a while... so double-check.

  8. #8
    Member
    Real Name
    Carl B Smith
    Join Date
    Jun 2012
    Posts
    279

    Default Re: Android PhoneGap Build

    Thanks all. So as an update, I went ahead and "checked" file and file transfer plugins, and then hit save, and this click here to view/edit. Looks like the new plugins are there, and show the correct version. However, my Android build still has errors. Here is the most recent log file:

    Build Date: 2018-02-13 16:21:39 +0000
    --------------------------------------------------------------------------------
    PLUGIN OUTPUT
    --------------------------------------------------------------------------------
    Fetching plugin "cordova-plugin-network-information@1.3.4" via npm
    Installing "cordova-plugin-network-information" at "1.3.4" for android
    Fetching plugin "cordova-plugin-dialogs@1.3.4" via npm
    Installing "cordova-plugin-dialogs" at "1.3.4" for android
    Fetching plugin "cordova-plugin-x-toast@2.6.0" via npm
    Installing "cordova-plugin-x-toast" at "2.6.0" for android
    Fetching plugin "cordova-plugin-whitelist@1.3.3" via npm
    Installing "cordova-plugin-whitelist" at "1.3.3" for android

    This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.
    Fetching plugin "https://github.com/remoorejr/DocumentHandler.git" via git clone
    Using shallow clone
    Repository "https://github.com/remoorejr/DocumentHandler.git" checked out to git ref "master" at "f501154".
    Installing "ch.ti8m.documenthandler" at "0.2.2" for android
    Fetching plugin "cordova-plugin-splashscreen@4.1.0" via npm
    Installing "cordova-plugin-splashscreen" at "4.1.0" for android
    Fetching plugin "cordova-open" via npm
    Installing "cordova-open" at "1.0.12" for android
    Fetching plugin "cordova-plugin-file" via npm
    Installing "cordova-plugin-file" at "6.0.1" for android
    Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0
    Skipping 'cordova-plugin-file' for android
    Fetching plugin "cordova-plugin-file-transfer" via npm
    Installing "cordova-plugin-file-transfer" at "1.7.1" for android
    Plugin dependency "cordova-plugin-file@6.0.1" already fetched, using that version.
    Installing "cordova-plugin-file" at "6.0.1" for android
    Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0
    Skipping 'cordova-plugin-file' for android
    Installing "cordova-plugin-file" at "6.0.1" for android
    Plugin doesn't support this project's cordova-android version. cordova-android: 6.2.3, failed version requirement: >=6.3.0
    Skipping 'cordova-plugin-file' for android
    Plugin "cordova-plugin-file-transfer" already installed on android. Making it top-level.
    --------------------------------------------------------------------------------
    COMPILE OUTPUT
    --------------------------------------------------------------------------------
    Configuration on demand is an incubating feature.
    :wrapper

    BUILD SUCCESSFUL in 0s
    1 actionable task: 1 executed
    Subproject Path: CordovaLib
    Configuration on demand is an incubating feature.
    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_3mb8et9b7qigpnmigh1x11v39.run(/project/build.gradle:137)
    The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
    Incremental java compilation is an incubating feature.
    The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
    :preBuild UP-TO-DATE
    :preReleaseBuild UP-TO-DATE
    :checkReleaseManifest
    :CordovaLib:preBuild UP-TO-DATE
    :CordovaLib:preReleaseBuild UP-TO-DATE
    :CordovaLib:checkReleaseManifest
    :CordovaLib:prepareReleaseDependencies
    :CordovaLib:compileReleaseAidl
    :CordovaLib:compileReleaseNdk UP-TO-DATE
    :CordovaLib:compileLint
    :CordovaLib:copyReleaseLint UP-TO-DATE
    :CordovaLib:mergeReleaseShaders
    :CordovaLib:compileReleaseShaders
    :CordovaLib:generateReleaseAssets
    :CordovaLib:mergeReleaseAssets
    :CordovaLib:mergeReleaseProguardFiles
    :CordovaLib:packageReleaseRenderscript UP-TO-DATE
    :CordovaLib:compileReleaseRenderscript
    :CordovaLib:generateReleaseResValues
    :CordovaLib:generateReleaseResources
    :CordovaLib:packageReleaseResources
    :CordovaLib:processReleaseManifest
    :CordovaLib:generateReleaseBuildConfig
    :CordovaLib:processReleaseResources
    :CordovaLib:generateReleaseSources
    :CordovaLib:incrementalReleaseJavaCompilationSafeguard
    :CordovaLib:compileReleaseJavaWithJavac
    :CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    :CordovaLib:processReleaseJavaRes UP-TO-DATE
    :CordovaLib:transformResourcesWithMergeJavaResForRelease
    :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
    :CordovaLib:mergeReleaseJniLibFolders
    :CordovaLib:transformNative_libsWithMergeJniLibsForRelease
    :CordovaLib:transformNative_libsWithSyncJniLibsForRelease
    :CordovaLib:bundleRelease
    :prepareOrgApacheCordovaCordovaLib623ReleaseLibrary
    :prepareReleaseDependencies
    :compileReleaseAidl
    :compileReleaseRenderscript
    :generateReleaseBuildConfig
    :generateReleaseResValues
    :generateReleaseResources
    :mergeReleaseResources
    :processReleaseManifest
    :processReleaseResources
    :generateReleaseSources
    :incrementalReleaseJavaCompilationSafeguard
    :compileReleaseJavaWithJavac
    :compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
    /project/src/org/apache/cordova/filetransfer/FileTransfer.java:49: error: package org.apache.cordova.file does not exist
    import org.apache.cordova.file.FileUtils;
    ^
    /project/src/org/apache/cordova/filetransfer/FileTransfer.java:851: error: cannot find symbol
    FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
    ^
    symbol: class FileUtils
    /project/src/org/apache/cordova/filetransfer/FileTransfer.java:851: error: cannot find symbol
    FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
    ^
    symbol: class FileUtils
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: /project/src/org/apache/cordova/filetransfer/FileTransfer.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    3 errors
    :compileReleaseJavaWithJavac FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':compileReleaseJavaWithJavac'.
    > Compilation failed; see the compiler error output for details.

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    BUILD FAILED

    Total time: 3.119 secs
    Error: /project/gradlew: Command failed with exit code 1 Error output:
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    /project/src/org/apache/cordova/filetransfer/FileTransfer.java:49: error: package org.apache.cordova.file does not exist
    import org.apache.cordova.file.FileUtils;
    ^
    /project/src/org/apache/cordova/filetransfer/FileTransfer.java:851: error: cannot find symbol
    FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
    ^
    symbol: class FileUtils
    /project/src/org/apache/cordova/filetransfer/FileTransfer.java:851: error: cannot find symbol
    FileUtils filePlugin = (FileUtils) pm.getPlugin("File");
    ^
    symbol: class FileUtils
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: /project/src/org/apache/cordova/filetransfer/FileTransfer.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    3 errors

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':compileReleaseJavaWithJavac'.
    > Compilation failed; see the compiler error output for details.

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    at ChildProcess.whenDone (/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

  9. #9
    Member
    Real Name
    Dave
    Join Date
    Jul 2012
    Location
    Southern California
    Posts
    620

    Default Re: Android PhoneGap Build

    Carl - DavidK mentioned a very good point regarding how you should change the config.xml file by first clicking the Save button and then clicking the hyperlink. I should have mentioned this because this is typically what I do. If you change the file before saving or uploading to PhoneGap, the builder may overwrite your plugin changes.

    Bob Moore fixed a couple of plugin version issues in the build you are using, but there was another issue he did not fix until late December I believe. Sorry I do not have exact dates. It's hard to keep everything straight. Like DavidK mentioned, the current pre-release is your safest bet.

  10. #10
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    6,708

    Default Re: Android PhoneGap Build

    Zip and attach your config.xml file.

  11. #11
    Member
    Real Name
    Carl B Smith
    Join Date
    Jun 2012
    Posts
    279

    Default Re: Android PhoneGap Build


  12. #12
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    6,708

    Default Re: Android PhoneGap Build

    I don't think this is a plugins issue. I think this is a... something got screwed up in the Alpha update of the config.xml file and it's all gone very badly... issue.

    I've included your plugins list into a new build of mine... and all is ok.

    Copy your config.xml file off somewhere... and then delete it. You'll find it in your project folder, in a folder named PhoneGapProjects\YOUR_PHONEGAP_PROJECT_NAME\www\config.xml

    Then delete the PhoneGap Build app from the PhoneGap Build website.

    Then open the Alpha PhoneGap Build Builder and create a new project.

    If that build still fails, then zip and post the full Project Folder from the PhoneGapProjects folder.
    Last edited by Davidk; 02-13-2018 at 02:18 PM.

  13. #13
    Member
    Real Name
    Carl B Smith
    Join Date
    Jun 2012
    Posts
    279

    Default Re: Android PhoneGap Build

    I did as you suggested and deleted the config file and basically started over with the Phonegap build project. This was successful. The Android app now builds correctly.

    One other weird thing happened though. My status bar along the top of the screen is now gray. It used to match the color of my control bar. Any idea how to change it back? I compared both old and new config files, and don't see any differences, so I'm not sure what changed.

    snap.jpg

Similar Threads

  1. Signing an Android PhoneGap Build
    By Pizzadude in forum Mobile & Browser Applications
    Replies: 4
    Last Post: 01-20-2018, 12:59 PM
  2. Slow PhoneGap Apps on Android
    By lilmofo812 in forum Mobile & Browser Applications
    Replies: 0
    Last Post: 03-23-2017, 07:33 AM
  3. PhoneGap Android Logout
    By ssmoore1 in forum Mobile & Browser Applications
    Replies: 1
    Last Post: 08-25-2016, 10:26 PM
  4. PhoneGap too slow for Android?
    By pcaspa in forum Mobile & Browser Applications
    Replies: 11
    Last Post: 09-23-2014, 06:27 AM
  5. Camera issue on Android tablet using Phonegap.
    By JPMPA in forum Mobile & Browser Applications
    Replies: 6
    Last Post: 11-06-2013, 10:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •