Open srameshr opened 9 years ago
This is because of difference in android versions in your project and the library files. You should update the libraries and the project in order to make the android versions same.
Execute the following commands from /home/username/Desktop/someFolder/appName/platforms/android android update project -p ~/googleplusLib android update project -p ~/CordovaLib android update project -p ProjectName
You can also change the android version by right clicking and selecting Properties>Android > Set required Project Build target for the libraries and project.
Then you can execute 'ant clean' and 'cordova build android'
Are you sure it is
android update project -p ~/googleplusLib
android update project -p ~/CordovaLib
android update project -p ProjectName
Because there are no folder called googlePlusLib nor CordovaLib in my home directory. ~/googlePlusLib is that correct?
And also right click where?
googlePlusLib nor CordovaLib may not be in your home directory. You should give the absolute path of the libraries. If you executed the command from /home/username/Desktop/someFolder/appName/platforms/android then you should use /CordovaLib and /google_plus_lib only.
Yeah that is done.
Now I get this :
build.xml: Failed to find version-tag string. File must be updated. In order to not erase potential customizations, the file will not be automatically regenerated. If no changes have been made to the file, delete it manually and run the command again. If you have made customizations to the build process, the file must be manually updated.
Build all the library projects and the actual project folders from your IDE. It will regenerate the required files.
I am not using an IDE.
So I will remove the current android platform and then reinstall it again using "cordova platform add". Will that solve all the problems?
On Wed, Nov 19, 2014 at 1:30 PM, Cabot Developer notifications@github.com wrote:
Build all the library projects and the actual project folders from your IDE. It will regenerate the required files.
— Reply to this email directly or view it on GitHub https://github.com/cabotdeveloper/CordovaPlugin-GooglePlusWithDemoApp/issues/3#issuecomment-63604404 .
I think, the issue you are reported is not because of adding this plugin. It is related to the android version of your project or any change in build tools. We require more clarification on this.
Removing platform is not required. Your current issue is solvable.
But how? Any hints on this?
On Wed, Nov 19, 2014 at 3:19 PM, Cabot Developer notifications@github.com wrote:
I think, the issue you are reported is not because of adding this plugin. It is related to the android version of your project or any change in build tools. We require more clarification on this.
Removing platform is not required. Your current issue is solvable.
— Reply to this email directly or view it on GitHub https://github.com/cabotdeveloper/CordovaPlugin-GooglePlusWithDemoApp/issues/3#issuecomment-63614956 .
The error occurs only after I add your plugin
On Wed, Nov 19, 2014 at 3:26 PM, Siddhartha R siddhartharramesh@gmail.com wrote:
But how? Any hints on this?
On Wed, Nov 19, 2014 at 3:19 PM, Cabot Developer <notifications@github.com
wrote:
I think, the issue you are reported is not because of adding this plugin. It is related to the android version of your project or any change in build tools. We require more clarification on this.
Removing platform is not required. Your current issue is solvable.
— Reply to this email directly or view it on GitHub https://github.com/cabotdeveloper/CordovaPlugin-GooglePlusWithDemoApp/issues/3#issuecomment-63614956 .
When I add your plugin and try to build the project, I get "android/cordova/node_modules/q/q.js:126 " error and the build stops.