kedzie / Support_v4_NineOldAndroids

75 stars 17 forks source link

Build Failure #1

Closed atomicdreamz closed 11 years ago

atomicdreamz commented 11 years ago

Hi , I am trying to build the code on my ubuntu machine but I am getting the error on mvn install

Failed to execute goal on project support-v4-animator: Could not resolve dependencies for project com.google.android:support-v4-animator:jar:r12: Could not find artifact com.google.android:android:jar:4.2.2 in central (http://repo.maven.apache.org/maven2) -> [Help 1] [ERROR]

I changed the google jar version to 4.1.1.4 in the pom and I am getting this error

Compilation failure: [ERROR] /home/emueana/Downloads/android_frameworks_support-animator-transition/v4/jellybean-mr1/android/support/v4/view/ViewCompatJellybeanMr1.java:[27,19] cannot find symbol [ERROR] symbol : method getLabelFor() [ERROR] location: class android.view.View [ERROR] /home/emueana/Downloads/android_frameworks_support-animator-transition/v4/jellybean-mr1/android/support/v4/view/ViewCompatJellybeanMr1.java:[31,12] cannot find symbol [ERROR] symbol : method setLabelFor(int) [ERROR] location: class android.view.View

Can anybody please guide me to the correct procedure Thanks

kedzie commented 11 years ago

On 04/24/2013 04:29 AM, atomicdreamz wrote:

Hi , I am trying to build the code on my ubuntu machine but I am getting the error on mvn install

Failed to execute goal on project support-v4-animator: Could not resolve dependencies for project com.google.android:support-v4-animator:jar:r12: Could not find artifact com.google.android:android:jar:4.2.2 in central (http://repo.maven.apache.org/maven2) -> [Help 1] [ERROR]

I changed the google jar version to 4.1.1.4 in the pom and I am getting this error

Compilation failure: [ERROR] /home/emueana/Downloads/android_frameworks_support-animator-transition/v4/jellybean-mr1/android/support/v4/view/ViewCompatJellybeanMr1.java:[27,19] cannot find symbol [ERROR] symbol : method getLabelFor() [ERROR] location: class android.view.View [ERROR] /home/emueana/Downloads/android_frameworks_support-animator-transition/v4/jellybean-mr1/android/support/v4/view/ViewCompatJellybeanMr1.java:[31,12] cannot find symbol [ERROR] symbol : method setLabelFor(int) [ERROR] location: class android.view.View

Can anybody please guide me to the correct procedure Thanks

— Reply to this email directly or view it on GitHub https://github.com/kedzie/android_frameworks_support/issues/1.

change the android version to 4.0.1.2

kedzie commented 11 years ago

On 04/24/2013 04:29 AM, atomicdreamz wrote:

Hi , I am trying to build the code on my ubuntu machine but I am getting the error on mvn install

Failed to execute goal on project support-v4-animator: Could not resolve dependencies for project com.google.android:support-v4-animator:jar:r12: Could not find artifact com.google.android:android:jar:4.2.2 in central (http://repo.maven.apache.org/maven2) -> [Help 1] [ERROR]

I changed the google jar version to 4.1.1.4 in the pom and I am getting this error

Compilation failure: [ERROR] /home/emueana/Downloads/android_frameworks_support-animator-transition/v4/jellybean-mr1/android/support/v4/view/ViewCompatJellybeanMr1.java:[27,19] cannot find symbol [ERROR] symbol : method getLabelFor() [ERROR] location: class android.view.View [ERROR] /home/emueana/Downloads/android_frameworks_support-animator-transition/v4/jellybean-mr1/android/support/v4/view/ViewCompatJellybeanMr1.java:[31,12] cannot find symbol [ERROR] symbol : method setLabelFor(int) [ERROR] location: class android.view.View

Can anybody please guide me to the correct procedure Thanks

— Reply to this email directly or view it on GitHub https://github.com/kedzie/android_frameworks_support/issues/1.

or better yet install the android.jar from platform-17 into your local maven repository. mvn install:install-file -Dfile=android.jar -DgroupId=com.google.android -DartifactId=android -Dversion=4.2.2 -Dpackaging=jar