Pavl_G
April 9, 2021, 6:48am
1
Hi there , afaik you have removed jbullet
from jme3.4.0 , but the examples are still using jbullet so i am getting this (when trying to run an android example):
Should the examples be updated to use Minie instead ?
/*add the JMonkeyEngine Dependencies*/
implementation "org.jmonkeyengine:jme3-core:3.4.0-alpha7"
implementation "org.jmonkeyengine:jme3-examples:3.4.0-alpha7"
implementation "org.jmonkeyengine:jme3-jbullet:3.4.0-alpha7"
implementation "org.jmonkeyengine:jme3-effects:3.4.0-alpha7"
implementation "org.jmonkeyengine:jme3-android-native:3.4.0-alpha7"
implementation "org.jmonkeyengine:jme3-lwjgl:3.4.0-alpha7"
Ali_RS
April 9, 2021, 7:02am
2
jbullet is not removed only the native bullet is removed.
2 Likes
Pavl_G
April 9, 2021, 7:03am
3
So, to fix this what should i do anyway ?
Thank you.
Ali_RS
April 9, 2021, 7:07am
4
jme3-jbullet requires jbullet.jar and stack-alloc.jar which are not in bintray or maven central so you need to copy them into the lib
directory manually like this example .
and change your build script like this
compile("org.jmonkeyengine:jme3-jbullet:$jmeVersion") {
exclude group: 'jbullet', module:'jbullet'
exclude group: 'stack-alloc', module:'stack-alloc'
}
compile files('lib/jbullet.jar')
runtime files('lib/stack-alloc.jar')
or if you want to use Minie instead then you need to remove this line:
and replace it with Minie
2 Likes
Pavl_G
April 9, 2021, 7:12am
5
Ali_RS:
with Minie
I cannot , the examples are using jbullet
, i don’t want to change the src , so i will try to import stack-alloc & jbullet jars.
1 Like
Pavl_G
April 9, 2021, 7:32am
6
Ali_RS:
compile("org.jmonkeyengine:jme3-jbullet:$jmeVersion") {
exclude group: 'jbullet', module:'jbullet'
exclude group: 'stack-alloc', module:'stack-alloc'
}
compile files('lib/jbullet.jar')
runtime files('lib/stack-alloc.jar')
It works fine now , btw i have imported those jars as android modules since i am in an android context , copying/pasting directly didn’t work :-)).
Thank you.
2 Likes
Pavl_G
April 10, 2021, 9:34am
7
Yep, those work,as well :
implementation files('libs/jbullet.jar')
implementation files('libs/stack-alloc.jar')
i was using the project
instead of files
so that why what makes android think that they are modules & give me error project not found
.
Sorry about these disturbances, i think it’s better to do a new clean PR, you can close this one.
Thanks for your patience.
1 Like