java - how to import Universal tween engine in IntelliJ with lib gdx -
okay.. i'm trying create splash screen mobile game. im using lib gdx library create game. have problem importing universal tween engine sprite splash. should do.
i've downloaded universal tween engine , extracted in "libs" folder in ios, android, core, , root of project.. , copied , paste these lines each dependencies:
project(":core") {
filetree(dir: 'd:/game/core/libs', include: 'tween-engine-api.jar')
compile filetree(dir: 'd:/game/core/libs', include: 'tween-engine-api->sources.jar')
project(":desktop") {
compile filetree(dir: 'd:/game/desktop/libs', include: 'tween-engine-api.jar')
compile filetree(dir: 'd:/game/desktop/libs', include: 'tween-engine-api->sources.jar')
project(":ios") {
compile filetree(dir: 'd:/game/ios/libs', include: 'tween-engine-api.jar')
compile filetree(dir: 'd:/game/ios/libs', include: 'tween-engine-api->sources.jar')
project(":android") {
compile filetree(dir: 'd:/game/android/libs', include: 'tween-engine-api.jar')
compile filetree(dir: 'd:/game/android/libs', include: 'tween-engine-api->sources.jar')
the code in spite accessor class :
package com.game.test; import aurelienribon.tweenengine.tweenaccessor; public class spriteaccessor implements tweenaccessor{ }
the error:
error:(3, 33) java: package aurelienribon.tweenengine not exist
error:(5, 40) java: cannot find symbol symbol: class tweenaccessor
p.s.
im following video tutorial dermetfan , put in th terminal these lines:
gradlew --refresh-dependencies
libgdx uses gradle dependency management.
you can inject dependency repository. add these lines in core module of root build.gradle file.
repositories { maven { url "https://jitpack.io" } } compile 'com.github.arcnor:universal-tween-engine:6.3.4' compile 'com.github.arcnor:universal-tween-engine:6.3.4:sources'
Comments
Post a Comment