Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provide fat .java file by default; update README
- Loading branch information
Showing
3 changed files
with
20,024 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,27 @@ | ||
# How to build and test | ||
|
||
* Run command in your terminal | ||
* Restore the platforms folder | ||
```Shell | ||
tns build android | ||
``` | ||
|
||
* Get a fat library | ||
|
||
* If you have **node.js** installed run the following commands: | ||
```Shell | ||
npm install forever -g | ||
forever start -o ../platforms/android/src/main/java/com/tns/RedundantClassNameWithTooManyMethods.java app/64kPlusMethodGenerator.js | ||
``` | ||
|
||
* If you DON'T have **node.js** you can copy the fat .java file instead | ||
```Shell | ||
$ cp app/App_Resources/Android/RedundantClassNameWithTooManyMethods.java platforms/android/src/main/java/com/tns/ | ||
``` | ||
|
||
* Finally run the application | ||
```Shell | ||
tns run android | ||
``` | ||
|
||
* The result of the build will be in the build folder. | ||
* Preview the resulting .apk in `build/outputs/apk/` to ensure that it contains at least 2 `classes(..N).dex` files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.