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/08/29 10:16:19 UTC

[GitHub] [cordova-android] ctfrancia opened a new issue #821: Could not get unknown property 'cdvCompileSdkVersion'

ctfrancia opened a new issue #821: Could not get unknown property 'cdvCompileSdkVersion'
URL: https://github.com/apache/cordova-android/issues/821
 
 
   # Bug Report
   
   ## Problem
   ever since adding google play services I have been following the rabbit holes of _this issue_ and _that issue_ and at this point I have no idea where the error lies. I have been getting the error:
   
   > * What went wrong:
   A problem occurred evaluating project ':com.google.playservices:google-play-services_lib'.
   > Could not get unknown property 'cdvCompileSdkVersion' for object of type com.android.build.gradle.LibraryExtension.
   
   after reading files I went and found that downgrading to 6.4.0 solved it. did that got another error, then read the post #485, so I upgraded back to 8.0.0 and still getting the issue.  
   
   ### What is expected to happen?
   to compile and run
   
   ### What does actually happen?
   the error above
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   #### config.xml
   ```
   <preference name="android-minSdkVersion" value="19" />
   // ...
       <platform name="android">
           <resource-file src="google-services.json" target="google-services.json" />
   ```
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   `$ ionic cordova run android --device`
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   mac osx
   
   
   ### 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.
   -->
   ```
   Ionic:
   
      Ionic CLI                     : 5.2.7 (/usr/local/lib/node_modules/ionic)
      Ionic Framework               : @ionic/angular 4.8.1
      @angular-devkit/build-angular : 0.801.3
      @angular-devkit/schematics    : 8.3.1
      @angular/cli                  : 8.1.3
      @ionic/angular-toolkit        : 2.0.0
   
   Cordova:
   
      Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
      Cordova Platforms : android 8.0.0, ios 4.5.5
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 14 other plugins)
   
   Utility:
   
      cordova-res : 0.6.0 
      native-run  : 0.2.7 (update available: 0.2.8)
   
   System:
   
      NodeJS : v12.7.0 (/usr/local/lib/node_modules/node/bin/node)
      npm    : 6.10.2
      OS     : macOS Mojave
      Xcode  : Xcode 10.2.1 Build version 10E1001
   ```
   
   
   ## 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