polyrob / StarSlots

Android/Java slot machine game using TMDB actor/film information for matching.
4 stars 2 forks source link

Error while adding dependecy #1

Open sunil-singh-chaudhary opened 7 years ago

sunil-singh-chaudhary commented 7 years ago

hello sir, I am adding this project on android but it show error in these three lines

import com.badlogic.gdx.backends.android.AndroidApplication; import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration; import com.scheidt.slots.GdxSlots;

I added dependecy

compile files('libs/gdx-box2d.jar') compile files('libs/gdx-backend-android-sources.jar') and sourceSets { main.jni.srcDirs = [] //disable automatic ndk-build call main.jniLibs.srcDirs = ['libs'] } but still cant find pls help and the dependency you provided is shwoing error

polyrob commented 7 years ago

Hi,

It's been a long while since I worked on this. Are you adding the gdx libraries manually? I presume you can see the gdx libs in the linked external libraries of your project?

If it doesn't cost you too much work, you may want to try generating the gdx project from scratch and then importing in the project code. I'm sure GDX has changed a lot since I created this, and with all the changes in Android it might be work building fresh.

I'm sure you can check out the gdx documentation for assistance with the library as well. https://libgdx.badlogicgames.com/documentation/

Sorry, it's just been a long while since I was working on this. Best of luck!