apk not build

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11474

    Ibrahim Akbar
    Participant

    03:16:13]  build dev finished in 38.29 s

    > cordova build android

    You have been opted out of telemetry. To change this, run: cordova telemetry on.

    Android Studio project detected

    (node:11064) UnhandledPromiseRejectionWarning: CordovaError: Failed to find ‘ANDROID_HOME’ environment variable. Try setting it manually.

    Failed to find ‘android’ command in your ‘PATH’. Try update your ‘PATH’ to include path to valid SDK directory.

    at C:\Users\eShikhon.com\Documents\ionic\eshikhon\platforms\android\cordova\lib\check_reqs.js:305:19

    at _fulfilled (C:\Users\eShikhon.com\Documents\ionic\eshikhon\platforms\android\cordova\node_modules\q\q.js:854:54)

    at self.promiseDispatch.done (C:\Users\eShikhon.com\Documents\ionic\eshikhon\platforms\android\cordova\node_modules\q\q.js:883:30)

    at Promise.promise.promiseDispatch (C:\Users\eShikhon.com\Documents\ionic\eshikhon\platforms\android\cordova\node_modules\q\q.js:816:13)

    at Promise.promise.promiseDispatch (C:\Users\eShikhon.com\Documents\ionic\eshikhon\platforms\android\cordova\node_modules\q\q.js:816:13)

    at C:\Users\eShikhon.com\Documents\ionic\eshikhon\platforms\android\cordova\node_modules\q\q.js:877:14

    at runSingle (C:\Users\eShikhon.com\Documents\ionic\eshikhon\platforms\android\cordova\node_modules\q\q.js:137:13)

    at flush (C:\Users\eShikhon.com\Documents\ionic\eshikhon\platforms\android\cordova\node_modules\q\q.js:125:13)

    at _combinedTickCallback (internal/process/next_tick.js:131:7)

    #11475

    Ibrahim Akbar
    Participant
    Update: > cordova build android --release Android Studio project detected   ANDROID_HOME=C:\sdk-tools JAVA_HOME=C:\Program Files\Java\jdk1.8.0_144 studio Subproject Path: CordovaLib Subproject Path: app   FAILURE: Build failed with an exception.   * Where: Script 'C:\Users\eShikhon.com\Documents\ionic\eshikhon\platforms\android\CordovaLib\cordova.gradle' line: 68   * What went wrong: A problem occurred evaluating project ':CordovaLib'. > No installed build tools found. Install the Android build tools version 19.1.0 or higher.   * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.   * Get more help at https://help.gradle.org   BUILD FAILED in 0s (node:1276) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception.   * Where: Script 'C:\Users\eShikhon.com\Documents\ionic\eshikhon\platforms\android\CordovaLib\cordova.gradle' line: 68   * What went wrong: A problem occurred evaluating project ':CordovaLib'. > No installed build tools found. Install the Android build tools version 19.1.0 or higher.   * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.   * Get more help at https://help.gradle.org   BUILD FAILED in 0s at ChildProcess.whenDone (C:\Users\eShikhon.com\Documents\ionic\eshikhon\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at maybeClose (internal/child_process.js:925:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) (node:1276) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:1276) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    #11489

    admin
    Member
    Well please note that these errors are not appearing due to app code. These are related to ionic and cordova setup . I agree its a fight fixing all these errors but let us help you .We also faced these issues but ionic community is great and helps in resolving issues . To resolve this please refer : https://github.com/ionic-team/ionic/issues/13120#issuecomment-381294193    Please make sure Java and  Android Studio is installed on your system .    
    #11508

    admin
    Member
    This reply has been marked as private.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

izmir escort

antalya escort

izmir escort

antalya escort

izmir escort

bursa escort

porno izle

porno izle

porno izle

escort istanbul