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

Fail to deploy in mac #158

Closed
shanuka opened this issue Nov 6, 2013 · 15 comments
Closed

Fail to deploy in mac #158

shanuka opened this issue Nov 6, 2013 · 15 comments

Comments

@shanuka
Copy link

shanuka commented Nov 6, 2013

[INFO] Maven Android SDK Deployer ........................ SUCCESS [0.164s]
[INFO] Android Platforms ................................. SUCCESS [0.005s]
[INFO] Android Platform 1.5 API 3 ........................ SUCCESS [0.084s]
[INFO] Android Platform 1.6 API 4 ........................ SUCCESS [0.011s]
[INFO] Android Platform 2.1 API 7 ........................ SUCCESS [0.012s]
[INFO] Android Platform 2.2 API 8 ........................ SUCCESS [0.012s]
[INFO] Android Platform 2.3.3 API 10 ..................... SUCCESS [0.012s]
[INFO] Android Platform 3.0 API 11 ....................... SUCCESS [0.018s]
[INFO] Android Platform 3.1 API 12 ....................... SUCCESS [0.012s]
[INFO] Android Platform 3.2 API 13 ....................... SUCCESS [0.011s]
[INFO] Android Platform 4.0 API 14 ....................... SUCCESS [0.014s]
[INFO] Android Platform 4.0.3 API 15 ..................... SUCCESS [0.011s]
[INFO] Android Platform 4.1 API 16 ....................... SUCCESS [0.016s]
[INFO] Android Platform 4.2 API 17 ....................... SUCCESS [3.718s]
[INFO] Android Platform 4.3 API 18 ....................... SUCCESS [2.465s]
[INFO] Android Platform 4.4 API 19 ....................... SUCCESS [2.298s]
[INFO] Android Add-Ons ................................... SUCCESS [0.004s]
[INFO] Android Add-On Google Platform 1.5 API 3 (Maps) ... SUCCESS [0.010s]
[INFO] Android Add-On Google Platform 1.6 API 4 (Maps) ... SUCCESS [0.013s]
[INFO] Android Add-On Google Platform 2.1 API 7 (Maps) ... SUCCESS [0.007s]
[INFO] Android Add-On Google Platform 2.2 API 8 (Maps) ... SUCCESS [0.007s]
[INFO] Android Add-On Google Platform 2.3.3 API 10 (Maps and USB) SUCCESS [0.010s]
[INFO] Android Add-On Google Platform 3.0 API 11 (Maps) .. SUCCESS [0.007s]
[INFO] Android Add-On Google Platform 3.1 API 12 (Maps and USB) SUCCESS [0.011s]
[INFO] Android Add-On Google Platform 3.2 API 13 (Maps and USB) SUCCESS [0.010s]
[INFO] Android Add-On Google Platform 4.0 API 14 (Maps and USB) SUCCESS [0.010s]
[INFO] Android Add-On Google Platform 4.0.3 API 15 (Maps and USB) SUCCESS [0.010s]
[INFO] Android Add-On Google Platform 4.1 API 16 (Maps and USB) SUCCESS [0.014s]
[INFO] Android Add-On Google Platform 4.2 API 17 (Maps and USB) SUCCESS [0.011s]
[INFO] Android Add-On Google Platform 4.3 API 18 (Maps and USB) SUCCESS [0.010s]
[INFO] Android Add-On Google Platform 4.4 API 19 (Maps and USB) SUCCESS [0.035s]
[INFO] Android Extras .................................... SUCCESS [0.004s]
[INFO] Android Compatibility Extra V4 .................... SUCCESS [0.241s]
[INFO] Android Compatibility Extra V7 Gridlayout Library . SUCCESS [2.486s]
[INFO] Android Compatibility Extra V7 AppCompat Library .. SUCCESS [1.647s]
[INFO] Android Compatibility Extra V7 Mediarouter Library SUCCESS [1.986s]
[INFO] Android Compatibility Extra V13 ................... SUCCESS [0.082s]
[INFO] Android Google Analytics Extra .................... SUCCESS [0.006s]
[INFO] Android Google AdMob Ads Extra .................... SUCCESS [0.017s]
[INFO] Android Google Cloud Messaging Library Extra Parent SUCCESS [0.004s]
[INFO] Android Google Cloud Messaging Client Library Extra SUCCESS [0.006s]
[INFO] Android Google Cloud Messaging Server Library Extra SUCCESS [0.006s]
[INFO] Android Google Play Services Extra ................ SUCCESS [2.991s]
[INFO] Android Google Play Licensing Extra ............... SUCCESS [1.137s]
[INFO] Android Extras - Apk Expansion .................... SUCCESS [0.004s]
[INFO] Android Google Play APK Expansion Extra - ZIP ..... SUCCESS [2.336s]
[INFO] Android Google Play APK Expansion Extra - Downloader FAILURE [0.009s]
[INFO] Android Tools ..................................... SKIPPED
[INFO] Android Annotations ............................... SKIPPED
[INFO] Repositories ...................................... SKIPPED
[INFO] Google M2Repository ............................... SKIPPED
[INFO] Android M2Repository .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.474s
[INFO] Finished at: Wed Nov 06 10:00:27 IST 2013
[INFO] Final Memory: 30M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project play-apk-expansion-downloader: Could not resolve dependencies for project com.simpligility.android.sdk-deployer:play-apk-expansion-downloader:apklib:2.3.1: Failure to find com.google.android.licensing:play-licensing:apklib:2.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

@Thorn1089
Copy link

I'll second this issue. Maven Central doesn't list anything under the com.google.android.licensing organization.

@mosabua
Copy link
Member

mosabua commented Nov 8, 2013

The deployer itself should create this artifact. Might be a wrong version.. I am checking it out now with latest updated android sdk..

@mosabua
Copy link
Member

mosabua commented Nov 8, 2013

I can confirm this issue and will look into it now.

@mosabua
Copy link
Member

mosabua commented Nov 8, 2013

Fixed..

@mosabua mosabua closed this as completed Nov 8, 2013
@Thorn1089
Copy link

Sorry, I cannot confirm this as fixed. I get the same error, simply with com.google.android.licensing:play-licensing:apklib:2 instead of 2.0.0.

@Thorn1089
Copy link

The command used was mvn install -P 4.3. I have all "Extras" installed via the Android SDK manager, and am using Maven 3.0.5.

@TimoKaiser
Copy link

Same here: mvn install -P 4.3 fails
Reversing d601f50 solves the problem.

Running on Windows.

@mosabua mosabua reopened this Nov 8, 2013
@mosabua
Copy link
Member

mosabua commented Nov 8, 2013

What version do you get for the play-licensing apklib?

@Thorn1089
Copy link

I don't get a play-licensing apklib in my local repo -- I see Maven's .lastUpdated markers under the local repo folder for version 2. 2.0.0 on the other hand has a JAR, apklib, and pom.

@filipmaelbrancke
Copy link

Same problem.
(while trying a mvn install -P 4.2)

I changed the 'extras/play-apk-expansion/downloader-library/pom.xml' to again list
2.0.0 as the version for the play-licensing dependency, and then the deploy works.

This is tested with a fresh maven install + a fresh android sdk install

@mosabua
Copy link
Member

mosabua commented Nov 8, 2013

Run it without a profile. The original message in this issue suggests that the play licenseing build was successful and then the apklib exists..

@Shusshu
Copy link
Contributor

Shusshu commented Nov 9, 2013

do you still have problem ? Google has changed the revision number of play licensing from 2 to 2.0.0.

@browngao
Copy link

browngao commented Nov 9, 2013

I tested with "mvn install -P 4.4" after changing from 2 to 2.0.0
Seems ok.

@mosabua
Copy link
Member

mosabua commented Nov 9, 2013

I have cut a new version 2.4.0 and did a few upgrades. You will now need Maven 3.1.1 ... and the platform specific profiles now only build platforms and add-ons.. so this problem will be gone.

@mosabua mosabua closed this as completed Nov 9, 2013
@snakelizzard
Copy link

Encountered the same issue when tried to install without profile. Running with correct profile is ok.

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

No branches or pull requests

8 participants