-
Notifications
You must be signed in to change notification settings - Fork 453
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
Can't get dependency for android-support-v7-appcompat.jar #271
Comments
What are the symptoms? ᐧ On Sun, Jan 25, 2015 at 7:31 AM, Mark Helmstetter [email protected]
|
Thanks for the quick reply. Symptoms are that I can't resolve the class ActionBarActivity. I think maybe I figured it out, it seems that adding
gets me what I need. I'm not sure why the docs say that is deprecated. I left the apklib dependency out, as that was causing an error
I think I've got all of my dependencies now, but not 100% sure yet. |
@mhelmstetter can you point out how did you get the dependency to work? On mine it keeps on complaining that it cannot find the version for any of the support library i.e: v4,v13,appcompat-v7. |
@pkhivesara First, make sure that you have downloaded all of the support/compatibility libraries via the Android SDK Manager under the "Extras" section. Then cd to "maven-android-sdk-deployer/extras" and run "mvn install". Also, make sure that you are referencing the proper groupId. You should NOT be using the com.google.android groupId for artifacts other than "android". |
@mhelmstetter I tried what you suggested. The build fails with the error below:
Any ideas? |
Sounds like that could be this issue: #190 Try moving your Android SDK to something with shorter path, e.g. C:\android-sdk and change your ANDROID_HOME. |
Still failing with the same error. UPDATE 1:I managed to get past the issue causing the error only to stumble upon an different error now causing the V7-appcompat to fail again. The error log:
UPDATE 2:The above error was caused because the pom.xml in the sdk-deployer folder is hard-coded to use API level 19. Is there a reason the pom doesn't use the latest-greatest SDK version? |
Any update on this? I'm confused as hell on how to use the appcompat libs after running this installer. First I had to modify
This is how my the two dependencies for appcompat v7 looks in my pom.xml now and I believe it works.
Is README.md outdated? |
The whole compatiblity extras seems to be gone from the SDK.. not sure what to do about this now. |
I too am looking for android.support:compatibility-v4:jar:[23,) sigh... thanks google |
I've gone over the docs several times and I can't seem to figure out the correct groupId/artifactId to get this dependency to install/resolve:
extras/android/support/v7/appcompat/libs/android-support-v7-appcompat.jar
Here are the relevant dependencies I've got so far
The text was updated successfully, but these errors were encountered: