Home Tutorials Download Beta Store Forum Documentation KnowledgeBase Wiki Blog

ShiVa3D

Return to Google Android

Can't create apk

Google Play Store, Amazon Kindle, Nook, and so many more

Can't create apk

Postby nbali » 21 Dec 2011, 14:07

I have tried to create an apk from Simple Animation game (on Windows).

In console:
-----------------------------------------------------------------------------
-- New build for Android (tool version: 1.2)
-----------------------------------------------------------------------------
Authoring type: Application
Build type: Development
AIModels type: Script
Architecture type: armv5te and armv7a
Validating application content
Validating tools path
Using Android NDK : C:android-ndk-r7
Using Android SDK : C:UsersHelloandroidDesktopeclipse_androidsdk_jdkandroid-sdk-windows
Using Cygwin : C:cygwin
Creating Android project
Deleted directory: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj
Created directory: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj
Created directory: C:/Shiva3DGames/SimpleAnimation
Created directory C:Shiva3DGamesTemp4_S3DTempBuild_SimpleAnimation_Android.s3dxprojsrccomhelloandroidanim
Added file C:Shiva3DGamesTemp4_S3DTempBuild_SimpleAnimation_Android.s3dxprojsrccomhelloandroidanimSimpleAnimation.java
Created directory C:Shiva3DGamesTemp4_S3DTempBuild_SimpleAnimation_Android.s3dxprojres
Created directory C:Shiva3DGamesTemp4_S3DTempBuild_SimpleAnimation_Android.s3dxprojbin
Created directory C:Shiva3DGamesTemp4_S3DTempBuild_SimpleAnimation_Android.s3dxprojlibs
Created directory C:Shiva3DGamesTemp4_S3DTempBuild_SimpleAnimation_Android.s3dxprojresvalues
Added file C:Shiva3DGamesTemp4_S3DTempBuild_SimpleAnimation_Android.s3dxprojresvaluesstrings.xml
Created directory C:Shiva3DGamesTemp4_S3DTempBuild_SimpleAnimation_Android.s3dxprojreslayout
Added file C:Shiva3DGamesTemp4_S3DTempBuild_SimpleAnimation_Android.s3dxprojreslayoutmain.xml
Added file C:Shiva3DGamesTemp4_S3DTempBuild_SimpleAnimation_Android.s3dxprojAndroidManifest.xml
Added file C:Shiva3DGamesTemp4_S3DTempBuild_SimpleAnimation_Android.s3dxprojbuild.xml
Added file C:Shiva3DGamesTemp4_S3DTempBuild_SimpleAnimation_Android.s3dxprojproguard.cfg

Initializing NDK Android environment
Copied file: C:/Shiva3DGames/SimpleAnimation/SimpleAnimation.stk to: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/assets/S3DMain.smf
Copied file: C:/Program Files (x86)/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/Icon.png to: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/res/drawable/app_icon.png
Copied file: C:/Program Files (x86)/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/Default.png to: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/res/drawable/app_splash.png
Copied file: C:/Program Files (x86)/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/app_main.xml to: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/res/layout/main.xml
Creating engine wrapper
Copied file: C:/Program Files (x86)/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/S3DClient_Android_arm_v5te_GLES1.a to: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/obj/local/armeabi/libS3DClient_Android.a
Copied file: C:/Program Files (x86)/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/S3DClient_Android_arm_v7a_GLES1.a to: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/obj/local/armeabi-v7a/libS3DClient_Android.a
Copied file: C:/Program Files (x86)/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/S3DClient_Wrapper.h to: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/jni/S3DClient_Wrapper.h
Copied file: C:/Program Files (x86)/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libopenal_arm_v5te.so to: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/obj/local/armeabi/libopenal.so
Copied file: C:/Program Files (x86)/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libcrypto_arm_v5te.so to: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/obj/local/armeabi/libcrypto.so
Copied file: C:/Program Files (x86)/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libssl_arm_v5te.so to: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/obj/local/armeabi/libssl.so
Copied file: C:/Program Files (x86)/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libopenal_arm_v7a.so to: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/obj/local/armeabi-v7a/libopenal.so
Copied file: C:/Program Files (x86)/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libcrypto_arm_v7a.so to: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/obj/local/armeabi-v7a/libcrypto.so
Copied file: C:/Program Files (x86)/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/libssl_arm_v7a.so to: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/obj/local/armeabi-v7a/libssl.so
Copied file: C:/Program Files (x86)/Stonetrip/ShiVa Authoring Tool/Data/Windows/Android/Build/app_jni.dat to: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/jni/S3DClient.cpp
Creating JNI makefile
Creating Application makefile
Creating java files
Created directory: C:/Shiva3DGames/Temp4/_S3DTempBuild_/SimpleAnimation_Android.s3dxproj/src/com/helloandroid/anim
-----------------------------------------------------------------------------
Building JNI module...
Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !

C:android-ndk-r7prebuiltwindowsbinawk.exe: can't open file /cygdrive/C/android-ndk-r7/build/awk/check-awk.awk
source line number 1 source file /cygdrive/C/android-ndk-r7/build/awk/check-awk.awk
context is
>>> <<<
/cygdrive/C/android-ndk-r7/build/core/init.mk:258: *** Android NDK: Aborting. . Stop.

Could not build JNI module

HELP!
nbali
Fresh Boarder
Fresh Boarder
 
Posts: 2

Re: Can't create apk

Postby guylknee » 21 Dec 2011, 22:27

rename the file awk to be _awk in the android ndk files.

The one I renamed was in C:Androidandroid-ndk-r7prebuiltwindowsbin directory.

I installed the ndk files here C:Androidandroid-ndk-r7
so rename the one in prebuiltwindowsbin from whereever you installed it.

Leave the awk file the cygwin install (ie C:cygwinbin) alone then you will hopefully be on your way.
guylknee
Fresh Boarder
Fresh Boarder
 
Posts: 1

Re: Can't create apk

Postby nbali » 22 Dec 2011, 07:16

It works! Thank you!
nbali
Fresh Boarder
Fresh Boarder
 
Posts: 2

Re: Can't create apk

Postby makkar » 15 Jan 2012, 14:39

This information should be included in the Authoring Tool Installation Guide:

http://www.stonetrip.com/developer/doc/authoringtool/installation#Android_target
User avatar
makkar
Platinum Boarder
Platinum Boarder
 
Posts: 1482

Re: Can't create apk

Postby Kummiseta » 26 Mar 2012, 11:43

I get the same error about wrong version of awk, and renaming it to _awk.exe didn't help. Any other solutions to fix this problem?
ShiVa3D Advanced Galaxy S2 GTX 570 OC XF8 Cubase 6.5 Blender 2.6 UU3D 3.6 GIMP 2.8 WavePad 4.2
User avatar
Kummiseta
Senior Boarder
Senior Boarder
 
Posts: 78

Re: Can't create apk

Postby Kummiseta » 28 Mar 2012, 14:05

Ok, I got this error fixed by copying c:prgcygwinbinawk.exe to c:prgcygwinusrbinawk.exe, but now I got the next problem:
http://www.stonetrip.com/developer/forum/viewtopic.php?f=43&t=25471&p=44441#p44441
ShiVa3D Advanced Galaxy S2 GTX 570 OC XF8 Cubase 6.5 Blender 2.6 UU3D 3.6 GIMP 2.8 WavePad 4.2
User avatar
Kummiseta
Senior Boarder
Senior Boarder
 
Posts: 78

Re: Can't create apk

Postby broozar » 28 Mar 2012, 14:36

no idea, but did you ever try to use the current UAT versions 1.3 or the 1.4 beta?
(the first post shows version 1.2, and though i realize it is not your post, i just thought i might ask)
User avatar
broozar
Platinum Boarder
Platinum Boarder
 
Posts: 3337
Location: Berlin - Germany

Re: Can't create apk

Postby Kummiseta » 29 Mar 2012, 06:04

I'm using UAT 1.4 Beta 1, but I had the same problem with 1.3 Beta 17 also.
ShiVa3D Advanced Galaxy S2 GTX 570 OC XF8 Cubase 6.5 Blender 2.6 UU3D 3.6 GIMP 2.8 WavePad 4.2
User avatar
Kummiseta
Senior Boarder
Senior Boarder
 
Posts: 78


Return to Google Android