ShiVa3D
APK compiling issues and crashes
Google Play Store, Amazon Kindle, Nook, and so many moreAPK compiling issues and crashes
by pixelsmoke » 29 Feb 2012, 18:43
This is my first time compiling an application, but I have ran into several issues.
I followed the tutorial on how to create the .apk for Android precisely, but I get three weird errors.
I have all my user variables and environment variables set up properly, but it still complains about the "Path" entry even though I added it.
Compiling as an APK package in the Authoring Tool:
It fails to build a JNI module...
Additionally, when I compile with .cpp I DO NOT get the error:
I also compiled it as an eclipse project, and it worked perfectly.
I did not get a single error, but once I installed it on my device, the app crashed.
Here is the LogCat:
I have tried every configuration possible for the past few days:
.stk:
- For "All" device types
- As the "DefaultExportProfile"
- For Android
And .stk with .cpp with the same configurations as I listed before.
And I also tried compiling with OpenGLES 1.1 and 2.0
For the sound I also already tried using "Default" and "OpenAL"
The minimum OS is set to 2.1.
This is getting frustrating, and I would be very thankful for any help.
I followed the tutorial on how to create the .apk for Android precisely, but I get three weird errors.
I have all my user variables and environment variables set up properly, but it still complains about the "Path" entry even though I added it.
Compiling as an APK package in the Authoring Tool:
- Code: Select all
-----------------------------------------------------------------------------
-- New build for Android (tool version: 1.3.1)
-----------------------------------------------------------------------------
Authoring type: Application
Build type: Development
AIModels type: Script
Architecture type: armv5te and armv7a
Validating application content
Validating tools path
Using Android NDK : E:Softwareandroid-ndk-r7
Using Android SDK : C:android-sdk-windows
Using Cygwin : E:Softwarecygwin
Creating Android project
Deleted directory: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj
Created directory: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj
Created directory: D:/Desktop/game_export/finished
WARNING: Java not found in your path.
Checking if Java is installed in C:Program Files (x86)Java.
'SearchForJava' is not recognized as an internal or external command,
operable program or batch file.
Java was found at C:Program FilesJavajdk1.7.0_01binjava.exe.
Please consider adding it to your path:
- Under Windows XP, open Control Panel / System / Advanced / Environment Variables
- Under Windows Vista or Windows 7, open Control Panel / System / Advanced System Settings / Environment Variables
At the end of the "Path" entry in "User variables", add the following:
;C:Program FilesJavajdk1.7.0_01binjava.exe
Created directory D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojsrccomtestwarez
Added file D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojsrccomtestwarezware1.java
Created directory D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojres
Created directory D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojbin
Created directory D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojlibs
Created directory D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojresvalues
Added file D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojresvaluesstrings.xml
Created directory D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojreslayout
Added file D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojreslayoutmain.xml
Added file D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojAndroidManifest.xml
Added file D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojbuild.xml
Added file D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojproguard.cfg
Initializing NDK Android environment
Copied file: D:/Desktop/game_export/warez/ware1.stk to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/assets/S3DMain.smf
Copied file: D:/Desktop/game_export/warez/icon.png to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/res/drawable/app_icon.png
Copied file: D:/Desktop/game_export/warez/splash.png to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/res/drawable/app_splash.png
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/app_main.xml to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/res/layout/main.xml
Creating engine wrapper
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/S3DClient_Android_arm_v5te_GLES1.a to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi/libS3DClient_Android.a
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/S3DClient_Android_arm_v7a_GLES1.a to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi-v7a/libS3DClient_Android.a
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/S3DClient_Wrapper.h to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/jni/S3DClient_Wrapper.h
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libopenal_arm_v5te.so to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi/libopenal.so
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libcrypto_arm_v5te.so to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi/libcrypto.so
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libssl_arm_v5te.so to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi/libssl.so
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libopenal_arm_v7a.so to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi-v7a/libopenal.so
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libcrypto_arm_v7a.so to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi-v7a/libcrypto.so
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libssl_arm_v7a.so to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi-v7a/libssl.so
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/app_jni.dat to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/jni/S3DClient.cpp
Creating JNI makefile
Creating Application makefile
Creating java files
Created directory: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/src/com/test/warez
-----------------------------------------------------------------------------
Building JNI module...
Could not build JNI module
It fails to build a JNI module...
Additionally, when I compile with .cpp I DO NOT get the error:
- Code: Select all
'SearchForJava' is not recognized as an internal or external command,
operable program or batch file.
I also compiled it as an eclipse project, and it worked perfectly.
I did not get a single error, but once I installed it on my device, the app crashed.
Here is the LogCat:
- Code: Select all
02-29 13:08:46.237: D/dalvikvm(532): No JNI_OnLoad found in /system/lib/libcrypto.so 0x4134b4a8, skipping init
02-29 13:08:46.237: D/dalvikvm(532): No JNI_OnLoad found in /system/lib/libssl.so 0x4134b4a8, skipping init
02-29 13:08:46.246: W/dalvikvm(532): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/test/warez/ware1;
02-29 13:08:46.246: W/dalvikvm(532): Class init failed in newInstance call (Lcom/test/warez/ware1;)
02-29 13:08:46.256: D/AndroidRuntime(532): Shutting down VM
02-29 13:08:46.256: W/dalvikvm(532): threadid=1: thread exiting with uncaught exception (group=0x409961f8)
02-29 13:08:46.326: E/AndroidRuntime(532): FATAL EXCEPTION: main
02-29 13:08:46.326: E/AndroidRuntime(532): java.lang.ExceptionInInitializerError
02-29 13:08:46.326: E/AndroidRuntime(532): at java.lang.Class.newInstanceImpl(Native Method)
02-29 13:08:46.326: E/AndroidRuntime(532): at java.lang.Class.newInstance(Class.java:1319)
02-29 13:08:46.326: E/AndroidRuntime(532): at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
02-29 13:08:46.326: E/AndroidRuntime(532): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1870)
02-29 13:08:46.326: E/AndroidRuntime(532): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1980)
02-29 13:08:46.326: E/AndroidRuntime(532): at android.app.ActivityThread.access$600(ActivityThread.java:122)
02-29 13:08:46.326: E/AndroidRuntime(532): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1146)
02-29 13:08:46.326: E/AndroidRuntime(532): at android.os.Handler.dispatchMessage(Handler.java:99)
02-29 13:08:46.326: E/AndroidRuntime(532): at android.os.Looper.loop(Looper.java:137)
02-29 13:08:46.326: E/AndroidRuntime(532): at android.app.ActivityThread.main(ActivityThread.java:4340)
02-29 13:08:46.326: E/AndroidRuntime(532): at java.lang.reflect.Method.invokeNative(Native Method)
02-29 13:08:46.326: E/AndroidRuntime(532): at java.lang.reflect.Method.invoke(Method.java:511)
02-29 13:08:46.326: E/AndroidRuntime(532): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
02-29 13:08:46.326: E/AndroidRuntime(532): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
02-29 13:08:46.326: E/AndroidRuntime(532): at dalvik.system.NativeStart.main(Native Method)
02-29 13:08:46.326: E/AndroidRuntime(532): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load openal: findLibrary returned null
02-29 13:08:46.326: E/AndroidRuntime(532): at java.lang.Runtime.loadLibrary(Runtime.java:365)
02-29 13:08:46.326: E/AndroidRuntime(532): at java.lang.System.loadLibrary(System.java:535)
02-29 13:08:46.326: E/AndroidRuntime(532): at com.test.warez.ware1.<clinit>(ware1.java:1389)
02-29 13:08:46.326: E/AndroidRuntime(532): ... 15 more
I have tried every configuration possible for the past few days:
.stk:
- For "All" device types
- As the "DefaultExportProfile"
- For Android
And .stk with .cpp with the same configurations as I listed before.
And I also tried compiling with OpenGLES 1.1 and 2.0
For the sound I also already tried using "Default" and "OpenAL"
The minimum OS is set to 2.1.
This is getting frustrating, and I would be very thankful for any help.
- pixelsmoke
- Fresh Boarder

- Posts: 9
Re: APK compiling issues and crashes
by varnado » 29 Feb 2012, 19:42
please check this :
Add Java to your Environment path as instructed and try again
- Code: Select all
WARNING: Java not found in your path.
Checking if Java is installed in C:Program Files (x86)Java.
'SearchForJava' is not recognized as an internal or external command,
operable program or batch file.
Java was found at C:Program FilesJavajdk1.7.0_01binjava.exe.
Please consider adding it to your path:
- Under Windows XP, open Control Panel / System / Advanced / Environment Variables
- Under Windows Vista or Windows 7, open Control Panel / System / Advanced System Settings / Environment Variables
At the end of the "Path" entry in "User variables", add the following:
;C:Program FilesJavajdk1.7.0_01binjava.exe
Add Java to your Environment path as instructed and try again
Web-Site:S.G.A.
-

varnado - Senior Boarder

- Posts: 73
Re: APK compiling issues and crashes
by pixelsmoke » 01 Mar 2012, 14:33
In the third line of my first post I already told you that I set up all the variables, but it is still complaining about Java.
The issue might be because I did not have the "Path" entry in my user variables, so I created one and added Java.
Although I do have a "Path" entry for my system variables.
The issue might be because I did not have the "Path" entry in my user variables, so I created one and added Java.
Although I do have a "Path" entry for my system variables.
- pixelsmoke
- Fresh Boarder

- Posts: 9
Re: APK compiling issues and crashes
by varnado » 01 Mar 2012, 19:28
All you need to do is set JAVA_HOME to your JDK forlder (e.g. C:Program FilesJavajdk1.6.0_26 )
I think Path is optional, just point it to JDK's binary folder: (e.g. ..Javajdk1.6.0_26bin )
I think Path is optional, just point it to JDK's binary folder: (e.g. ..Javajdk1.6.0_26bin )
Web-Site:S.G.A.
-

varnado - Senior Boarder

- Posts: 73
Re: APK compiling issues and crashes
by pixelsmoke » 01 Mar 2012, 20:51
Okay... I pointed the "Path" just to the folder and not the .exe.
It still does not build the JNI module.
Although it no longer complains about the "Path".
Here is the updated build log:
It still does not build the JNI module.
Although it no longer complains about the "Path".
Here is the updated build log:
- Code: Select all
-----------------------------------------------------------------------------
-- New build for Android (tool version: 1.3.1)
-----------------------------------------------------------------------------
Authoring type: Application
Build type: Development
AIModels type: Script
Architecture type: armv5te and armv7a
Validating application content
Validating tools path
Using Android NDK : E:Softwareandroid-ndk-r7
Using Android SDK : C:android-sdk-windows
Using Cygwin : E:Softwarecygwin
Creating Android project
Deleted directory: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj
Created directory: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj
Created directory: D:/Desktop/game_export/finished
Created directory D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojsrccomtestwarez
Added file D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojsrccomtestwarezware1.java
Created directory D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojres
Created directory D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojbin
Created directory D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojlibs
Created directory D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojresvalues
Added file D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojresvaluesstrings.xml
Created directory D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojreslayout
Added file D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojreslayoutmain.xml
Added file D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojAndroidManifest.xml
Added file D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojbuild.xml
Added file D:Desktopgame_exportbuildtemp_S3DTempBuild_ware1_Android.s3dxprojproguard.cfg
Initializing NDK Android environment
Copied file: D:/Desktop/game_export/warez/ware1.stk to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/assets/S3DMain.smf
Copied file: D:/Desktop/game_export/warez/icon.png to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/res/drawable/app_icon.png
Copied file: D:/Desktop/game_export/warez/splash.png to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/res/drawable/app_splash.png
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/app_main.xml to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/res/layout/main.xml
Creating engine wrapper
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/S3DClient_Android_arm_v5te_GLES1.a to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi/libS3DClient_Android.a
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/S3DClient_Android_arm_v7a_GLES1.a to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi-v7a/libS3DClient_Android.a
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/S3DClient_Wrapper.h to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/jni/S3DClient_Wrapper.h
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libopenal_arm_v5te.so to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi/libopenal.so
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libcrypto_arm_v5te.so to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi/libcrypto.so
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libssl_arm_v5te.so to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi/libssl.so
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libopenal_arm_v7a.so to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi-v7a/libopenal.so
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libcrypto_arm_v7a.so to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi-v7a/libcrypto.so
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libssl_arm_v7a.so to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/obj/local/armeabi-v7a/libssl.so
Copied file: E:/Software/ShiVaPLE/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/app_jni.dat to: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/jni/S3DClient.cpp
Creating JNI makefile
Creating Application makefile
Creating java files
Created directory: D:/Desktop/game_export/buildtemp/_S3DTempBuild_/ware1_Android.s3dxproj/src/com/test/warez
-----------------------------------------------------------------------------
Building JNI module...
Could not build JNI module
- pixelsmoke
- Fresh Boarder

- Posts: 9
Re: APK compiling issues and crashes
by DeLouka » 02 Mar 2012, 10:25
I had a comparable problem, which was caused by a bad cygwin installation. The java initializer error is caused probably because the libs/ directory is missing in your android project.
What I suggest you do is :
- Open the project in eclipse
- In eclipse go: Window -> show view -> ant.
- Drag and drop the build.xml into your ant window.
- "Build debug apk" in ant window.
- Your console might provide you with some interesting information as to what is going wrong (IF it goes wrong, but I suspect it will) ...
What I suggest you do is :
- Open the project in eclipse
- In eclipse go: Window -> show view -> ant.
- Drag and drop the build.xml into your ant window.
- "Build debug apk" in ant window.
- Your console might provide you with some interesting information as to what is going wrong (IF it goes wrong, but I suspect it will) ...
- DeLouka
- Junior Boarder

- Posts: 39
Re: APK compiling issues and crashes
by pixelsmoke » 02 Mar 2012, 13:00
The LogCat that I posted was from building the debug .apk.
I do have a library folder, but it is empty. I'm pretty sure that is what is causing the errors.
Is there a way to fix this?
EDIT: I noticed that you had a similar issue. What did you do to fix the Cygwin installation? Reinstall?
I do have a library folder, but it is empty. I'm pretty sure that is what is causing the errors.
Is there a way to fix this?
EDIT: I noticed that you had a similar issue. What did you do to fix the Cygwin installation? Reinstall?
- pixelsmoke
- Fresh Boarder

- Posts: 9
Re: APK compiling issues and crashes
by DeLouka » 02 Mar 2012, 13:17

Are you sure you didn't just press the green button on top of the screen rather than work from ant? Because ant wouldn't report to the logcat but rather to the 'console'... as you can see in my rather limited quality image
- DeLouka
- Junior Boarder

- Posts: 39
Re: APK compiling issues and crashes
by pixelsmoke » 02 Mar 2012, 23:08
I built the .apk from Ant.
The LogCat is from when I run it on the device.
Here is the console when building:
I don't seem to see any problems/errors...
EDIT: For Windows 7, which I think you are running... there is a "Snipping Tool" for taking screenshots.
The LogCat is from when I run it on the device.
Here is the console when building:
- Code: Select all
Buildfile: D:eclipse_projectsware1build.xml
Build debug apk:
[exec] Result: -1073741515
-setup:
[echo] Gathering info for ware1...
[setup] Android SDK Tools Revision 16
[setup] Project Target: Android 2.1
[setup] API level: 7
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] No library dependencies.
[setup] ------------------
-build-setup:
[echo] Creating output directories if needed...
-pre-build:
-code-gen:
[echo] ----------
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
[echo] ----------
[echo] Handling Resources...
[aapt] Found Deleted Target File
[aapt] Generating resource IDs...
-pre-compile:
-compile:
[javac] Compiling 1 source file to D:eclipse_projectsware1binclasses
-set-mode-check:
-set-debug-files:
-set-debug-mode:
-debug-obfuscation-check:
-setup:
[echo] Gathering info for ware1...
[setup] Android SDK Tools Revision 16
[setup] Project Target: Android 2.1
[setup] API level: 7
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] No library dependencies.
[setup] ------------------
-build-setup:
[echo] Creating output directories if needed...
-pre-build:
-code-gen:
[echo] ----------
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
[echo] ----------
[echo] Handling Resources...
[aapt] Found Deleted Target File
[aapt] Generating resource IDs...
-pre-compile:
-compile:
[javac] Compiling 1 source file to D:eclipse_projectsware1binclasses
-post-compile:
-obfuscate:
-dex:
[dex] Found Deleted Target File
[dex] Converting compiled files and external libraries into D:eclipse_projectsware1binclasses.dex...
-crunch:
[crunch] Crunching PNG Files in source dir: D:eclipse_projectsware1res
[crunch] To destination dir: D:eclipse_projectsware1binres
[crunch] Crunched 0 PNG files to update cache
-package-resources:
[aapt] Found Deleted Target File
[aapt] Creating full resource package...
[aapt] Warning: AndroidManifest.xml already defines debuggable (in http://schemas.android.com/apk/res/android); using existing value in manifest.
-package:
[apkbuilder] Found Deleted Target File
[apkbuilder] Creating ware1-debug-unaligned.apk and signing it with a debug key...
-do-debug:
[zipalign] Running zip align on final apk...
[echo] Debug Package: D:eclipse_projectsware1binware1-debug.apk
debug:
[propertyfile] Updating property file: D:eclipse_projectsware1binbuild.prop
[propertyfile] Updating property file: D:eclipse_projectsware1binbuild.prop
[propertyfile] Updating property file: D:eclipse_projectsware1binbuild.prop
[propertyfile] Updating property file: D:eclipse_projectsware1binbuild.prop
BUILD SUCCESSFUL
Total time: 6 seconds
I don't seem to see any problems/errors...
EDIT: For Windows 7, which I think you are running... there is a "Snipping Tool" for taking screenshots.
- pixelsmoke
- Fresh Boarder

- Posts: 9
Re: APK compiling issues and crashes
by DeLouka » 04 Mar 2012, 15:13
Okay that's quite strange, for me the library problems were solved when I fixed my cygwin... Same thing for the JNI stuff. So the only thing I could imagine is reinstalling cygwin and making sure you got all the components needed. If that's not the solution I fear my knowledge stops already 
just one more thing : to run the app on your device make sure to do 'install' from ant window, not the green play button on top..
just one more thing : to run the app on your device make sure to do 'install' from ant window, not the green play button on top..
- DeLouka
- Junior Boarder

- Posts: 39
Re: APK compiling issues and crashes
by pixelsmoke » 06 Mar 2012, 12:52
I tried to install from the ant window, but still no luck.
I'll try and setup a Linux desktop to narrow down the issue.
I'll try and setup a Linux desktop to narrow down the issue.
- pixelsmoke
- Fresh Boarder

- Posts: 9
11 posts
• Page 1 of 1