Error launching kickflip sample application using Android Studio for Mac OS X 10.8.4

I am using Mac OS X 10.8.4. I recently started using android studio. I installed Homebrew and installed gradle. I need to try the example for the kickflip android SDK SDK, so I checked out the project from GitHub . But the project won't start. It shows error

Execution failed for task ':app:packageDebug'. > class org.bouncycastle.asn1.ASN1Primitive overrides final method equals.(Ljava/lang/Object;)Z

I know similar questions were asked on the stack itself.

Problems running error in Android Studio ...

Fix build for Android Studio 0.2.7 with Gradle

Gradle error in app: packageDebug ...

Android Studio lock problem (newbie)

I tried the solutions provided in them, but no help.

I am using java 1.7.0_09. java -version gives

java version "1.7.0_09" Java (TM) SE Runtime Environment (build 1.7.0_09-b05) Java HotSpot (TM) 64-bit Server VM (build 23.5-b02, mixed mode)

and gradle is up to date. Please help if anyone faced the same problem and got the fix.

+3


source to share


1 answer


I managed to get Kickflip running under Eclipse Kepler. Here are the steps: 1. Download android-sdk zip file from GutHub sdk 2. Import sdk into Eclips 3. Move files in java directory to src directory 4. Create lib directory and move armeabi directory to lib directory 5. Move lib jar files in directory lib 6. remove the jar file ffmpgwrapper because it also exists in the source directory, otherwise you will get multiple dexes 7. Increase the heap buffers in eclips.ini -Xms512m -Xmx1024m



It should now work

+1


source







All Articles