from release file in jre directory which comes with Android Studio 2.2 JAVA_VERSION="1.8.0_76" OS_NAME="Windows" OS_VERSION="5.2" OS_ARCH="amd64" SOURCE=""
Thank you for a great tutorial, @lqifqkt ! You made it real easy to switch to Android Studio. One note about the exclude you do on the support-v4 lib. You should instead get rid of the old version of the lib that is included when exporting from Buildbox. I suppose it's related to the Buildbox features I'm not using, but I didn't have to use multidex and I could also remove the other jars included.
I liked your post man Buildbox is not exporting files to be used by Android Studio yet, but they are moving towards that and I think the coming versions of BB will be more compatible with Android Studio that's way we should encourage builboxers to move to Android Studio Regards,
In build.gradle Put this in android Code: configurations { all*.exclude group: 'com.android.support', module: 'support-v4' } in dependences change this Code: compile ('com.google.android.gms:play-services:+'){exclude module: 'support-v4'} to become Code: compile 'com.google.android.gms:play-services:+'
i have a problem it does show in the emulator but the application doesn't run on my device. it does show the icon but doesn't run it
This means that the game is installed but there some errors in it. You need to debug it via the device logs
This needs a new tutorial to understand device logs. Anyway in short you can view the device logs from Android Studio by running the game on a debug enabled device/mobile then from tools android device monitor and logcat tap.
@khalid Hello Khalid, is it possible, that you would know, how to fix my problem? Thanks ! http://buildbox.com/forum/index.php...ror-app-transformclasseswithdexfordebug.9862/
What is in red is not the appropriate way of excluding a module nor for enabling multidex!! Both lines should be removed from dependencies The exclusion need to be added in configurations like this all*.exclude group: 'com.android.support', module: 'support-v4' The compile ('com.android.support:multidex:1.0.1') should be removed then add the following in the defaultConfig multiDexEnabled true If you don't know how to do it we have a paid service to fix this for you with 10$ good luck
Hi khalid, Please, please, please, see my post and help me with this problem https://www.buildbox.com/forum/inde...est-game-wont-work-anywhere.10343/#post-55638 Thank you very much!
In your build gradle dependencies, change compile ('com.google.android.gmslay-services:+'){exclude module: 'support-v4'}, to compile 'com.google.android.gmslay-services:+' and take out libs/support (the last line) in dependencies. **Dont know why there are goofy faces