CodeCombiner/native-android

Change ouptupPath variable on start and remove "../.." throughout the project

CodeCombiner opened this issue · 11 comments

Same for outputResources parameter

@rampr , @vivekb91 current opts.outputPath (build/native-android) used debug/release scheme on path, i.e. build/debug/native-android or build/release/native-android this means that is will create 2 Android projects (1 for debug and 1 for release). Please let me know if this is required and I should put this scheme.

Now it is made that /build/GAMENAME Android project dir is used for both schemes (.release and debug).

Let me know if opts.outputPath shell be either build/GAMENAME or build/debug/GAMENAME.
Please let me know your improvement ideas.

As well opts.outputPath can be build/release/native-android/GAMENAME which is too nested in my opinion or it can be build/release/native-android/ which will make Android game project bad transferable (I am not sure if you need to transfer Android Studio projects).

rampr commented

I would like build directory to be Android Studio compatible.
Please let me know what is generally done by other projects.

I will take a look at cocos2d and come back.

All build.gradle project are compatible with Android Studio. In Android Studio just select import project, do not select open project because Android Studio must import Gradle projects to generate Android Studio project files.

rampr commented

@CodeCombiner We prefer build/release/native-android and build/debug/native-android
native-android can be the project directory itself.

@rampr , I will apply such changes

Pull requests:
hashcube/freshchat#17
hashcube/onesignal#39
hashcube/firebase#31
hashcube/gameplay#19
hashcube#50
hashcube/devkit-core#74

Now the output path is like that: gamename/build/debug/native-android/gamename/

rampr commented

Will verify and close it Alex

rampr commented

zipalign seems to be failing
screen shot 2018-08-16 at 12 14 55 pm

rampr commented

I have fixed it. I will push and then close this.

rampr commented

Fixed here -> hashcube@39cb13e