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/07/01 11:47:58 UTC

[GitHub] [cordova-android] girigiramesh opened a new issue #757: Build is failing while generating the framework-8.0.0.aar file

girigiramesh opened a new issue #757: Build is failing while generating the framework-8.0.0.aar file
URL: https://github.com/apache/cordova-android/issues/757
 
 
   # Bug Report
    I am faced with a problem wherein framework-8.0.0.aar file, the build is failing. However, the file is being generated and the same is building versions upto 7.1.4.
   
   ## Problem
    I am faced with a problem wherein framework-8.0.0.aar file, the build is failing. 
   
   ### What is expected to happen?
   The aar file should be generated successfully. 
   
   ### What does actually happen?
   The build fails and an error is shown.
   * What went wrong:
   Execution failed for task ':packageDebugResources'.
   > Could not resolve all files for configuration ':_internal_aapt2_binary'.
      > Could not find com.android.tools.build:aapt2:3.3.0-5013011.
        Searched in the following locations:
          - file:/Users/Apple/Library/Android/sdk/extras/m2repository/com/android/tools/build/aapt2/3.3.0-5013011/aapt2-3.3.0-5013011.pom
          - file:/Users/Apple/Library/Android/sdk/extras/m2repository/com/android/tools/build/aapt2/3.3.0-5013011/aapt2-3.3.0-5013011-osx.jar
          - file:/Users/Apple/Library/Android/sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.3.0-5013011/aapt2-3.3.0-5013011.pom
          - file:/Users/Apple/Library/Android/sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.3.0-5013011/aapt2-3.3.0-5013011-osx.jar
          - file:/Users/Apple/Library/Android/sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.3.0-5013011/aapt2-3.3.0-5013011.pom
          - file:/Users/Apple/Library/Android/sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.3.0-5013011/aapt2-3.3.0-5013011-osx.jar
        Required by:
            project :
   
   ## Information
    I am faced with a problem wherein framework-8.0.0.aar file, the build is failing. However, the file is being generated and the same is building versions upto 7.1.4.
    Below are the steps I followed to generating the framework-8.0.0.aar file through the cordova-android repo.
   - Under framework/build/outputs/aar identified the framework-8.0.0.aar
   - Checkedout the 8.0.0 tag => git checkout tags/rel/8.0.0
   - Installed and used the latest gradle version of 5.4.1.
   - Navigated to cordova-android/framework directory
   - Build => gradle build
   - The build is failing with the error shown in the attached screenshot.
   
   
   
   ### Command or Code
    I am faced with a problem where in framework-8.0.0.aar file, the build is failing. However, the file is being generated and the same is building versions upto 7.1.4.
    Below are the steps I followed to generating the framework-8.0.0.aar file through the cordova-android repo.
   - Under framework/build/outputs/aar identified the framework-8.0.0.aar
   - Checkedout the 8.0.0 tag => git checkout tags/rel/8.0.0
   - Installed and used the latest gradle version of 5.4.1.
   - Navigated to cordova-android/framework directory
   - Build => gradle build
   - The build is failing with the error shown in the attached screenshot.
   
   
   ### Environment, Platform, Device
   Mentioned above.
   
   
   
   ### Version information
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   ![ErrorMessage](https://user-images.githubusercontent.com/20535267/60433895-81624400-9c23-11e9-90fb-890c040a6610.png)
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [ ] 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