Libraryless. Click here for Pure Java version (1832L/13K/43K).
!752 p { print("Downloading libraries"); File dxJar = loadLibrary("#1004106"); // 1 MB File supportJar = loadLibrary("#1004107"); // 1 MB File androidJar = loadLibrary("#1004108"); // Huge (26 MB) S src = [[ p { androidSayInGerman("Was geht ab Mann"); } ]]; S libs = "lib 1004106\n" + "lib 1004107\n " + "lib 1004108\n"; print("\n" + indent(libs + src) + "\n"); print("Transpiling & compiling"); File classesDir = javaxToClasses(libs + src); print("Making dex"); File dexFile = prepareProgramFile("test.dex"); S cmd = "java -jar " + bashQuote(dxJar) + " --dex --output=" + bashQuote(dexFile) + " " + bashQuote(classesDir + "/") + " 2>&1"; print(cmd); print(backtick(cmd)); print(); if (dexFile.exists()) print("Dex made! " + dexFile.getAbsolutePath() + " (" + dexFile.length() + " bytes)"); else print("Crazy! No dex made"); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004109 |
Snippet name: | Try making a .dex locally (dev.) |
Eternal ID of this version: | #1004109/1 |
Text MD5: | 43e44ebaeb87a8497b132408aea29ef6 |
Transpilation MD5: | 8bf8c9ad487402ae1413c8a6f6fd3ecf |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-07 17:42:02 |
Source code size: | 944 bytes / 34 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 548 / 643 |
Referenced in: | [show references] |