How to import my js game into Ejecta ?
BuzzBuzz opened this issue · comments
Hello
Seems such a stupid question, but I do have a trouble.
I imported the project in Eclipse, replaced the index.js content with my own game's js, but when I run I am still getting the demo drawings...
What is the proper way to import my game into Ejecta ?
Thanks
it is the proper way.
perhaps you can "project > clean" before running ?
(Thanks for helping so fast)
I tried but no change, I am still getting the demo drawings.
I built it again with the ndk after replacing the index.js but it did not change anything neither.
hmmm strange problem
just to be sure, did you try to remove your app from your device ?
As @come suggested, be sure to uninstall your app after modifying your JS code. If the app is not uninstalled first, assets already existing on the device won't be replaced.
You can uninstall the app directly on the device or by command-line:
path/to/android/sdk/platform-tools/adb uninstall package.of.your.app
(be sure to replace the path to adb and the package of your app by the right value)
That's it, thanks.
Issue seems to be resolved.