You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/10/21 18:07:31 UTC

[GitHub] [cordova-android] desmeit opened a new issue #855: Creating bundle package with 8.1.0 not working

desmeit opened a new issue #855: Creating bundle package with 8.1.0 not working
URL: https://github.com/apache/cordova-android/issues/855
 
 
   # Bug Report
   I tried with 8.1.0:
   
   ```
   cordova build android --release
   cd platforms/android
   ./gradlew bundleRelease
   ```
   
   ## Problem
   
   After the command
   ./gradlew bundleRelease
   I get an error.
   
   ### What is expected to happen?
   Creating .aab bundle package.
   
   ### What does actually happen?
   Adding platform is working
   Build Process ist working as well
   I fI try to create bundle package, I get this error:
   
       > Configure project :app
       WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
       It will be removed at the end of 2018. For more information see:     http://d.android.com/r/tools/update-dependency-configurations.html
       An exception occurred while trying to find the Android build tools.
       Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
   
       FAILURE: Build failed with an exception.
   
       * Where:
       Script '/XXX/platforms/android/CordovaLib/cordova.gradle' line: 121
   
       * What went wrong:
       A problem occurred evaluating project ':app'.
       > Unable to determine Android SDK directory.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   Cordova 9.0.0
   Cordova Android 8.1.0
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   ./gradlew bundleRelease
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   Terminal
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Cordova CLI
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [X ] I searched for existing GitHub issues
   - [X ] I updated all Cordova tooling to most recent version
   - [ X] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org