Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A workaround of 'file not found` on admob and gcm #196

Closed

Conversation

ikuo
Copy link

@ikuo ikuo commented Feb 8, 2014

When I run mvn install with android studio environment (after completing android update sdk -u), I get the following errors:

$ mvn install
... (snip) ...
[ERROR] Failed to execute goal org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2:read-project-properties (default) on project admob: Properties file not found: /usr/local/android-studio/sdk/extras/google/admob_ads_sdk/source.properties -> [Help 1]
$ mvn install
... (snip) ...
[ERROR] Failed to execute goal org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2:read-project-properties (default) on project gcm-client: Properties file not found: /usr/local/android-studio/sdk/extras/google/gcm/source.properties -> [Help 1]

And the directories admob_ads_sdk/ and gcm/ are missing in the sdk directory:

$ ls -alF /usr/local/android-studio/sdk/extras/google 
total 40
drwxrwxr-x 10 ikuo 4096 Feb  8 12:16 ./
drwxrwxr-x  4 ikuo 4096 Feb  8 12:16 ../
drwxrwxr-x  2 ikuo 4096 Feb  8 12:16 analytics_sdk_v2/
drwxrwxr-x  5 ikuo 4096 Feb  8 12:16 google_play_services/
drwxrwxr-x  5 ikuo 4096 Feb  8 12:16 google_play_services_froyo/
drwxrwxr-x  3 ikuo 4096 Feb  8 12:16 m2repository/
drwxrwxr-x  5 ikuo 4096 Feb  8 12:16 play_apk_expansion/
drwxrwxr-x  3 ikuo 4096 Feb  8 12:16 play_billing/
drwxrwxr-x  5 ikuo 4096 Feb  8 12:16 play_licensing/
drwxrwxr-x  4 ikuo 4096 Feb  8 12:16 webdriver/

Although I'm not sure that it is the right solution, mvn install succeeded against the rest of android library after making changes of this pull-request.

@mosabua
Copy link
Member

mosabua commented Mar 19, 2014

That is not an acceptable solution. We need to support GCM and Admob.

@mosabua mosabua closed this Mar 19, 2014
hborders pushed a commit to hborders/maven-android-sdk-deployer that referenced this pull request May 11, 2014
Added fix for APKLIB requiring NDK to be installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants