Page 1 of 1
RAPT Problem- Error 183
Posted: Mon Dec 03, 2012 12:20 pm
by AoiUsui
I'm testing to make an android VN using rapt-6.14.1.0, the game was made on renpy-6.13.12. Everytime that I build the game, this error always shows:
Creating assets directory.
Traceback (most recent call last):
File "android.py", line 66, in <module>
main()
File "android.py", line 54, in main
build.build(iface, args.argument[0], args.argument[1:])
File "buildlib\build.py", line 312, in build
build_core(iface, directory, commands)
File "buildlib\build.py", line 245, in build_core
shutil.copytree("engine-assets/common", "assets/common")
File "C:\python27\lib\shutil.py", line 174, in copytree
os.makedirs(dst)
File "C:\python27\lib\os.py", line 157, in makedirs
mkdir(name, mode)
WindowsError: [Error 183] Cannot create a file when that file already exists: 'a
ssets/common'
Please help
Re: RAPT Problem- Error 183
Posted: Tue Dec 04, 2012 1:56 am
by PyTom
Try cleaning out the assets directory.
Re: RAPT Problem- Error 183
Posted: Tue Dec 04, 2012 5:32 am
by AoiUsui
I'm a little newbie in Ren'Py, especially in RAPT. Where can I find the assets directory? Is it the assets folder on the RAPT folder, with the folders android-sdl, apache-ant? Do I really need to delete all those files in that assets folder?
Thank you for your reply! 
Re: RAPT Problem- Error 183
Posted: Tue Dec 04, 2012 6:17 am
by AoiUsui
I deleted all the contents of assets directory. But the output is all the same.
But I tried another method. I erased the common folder in my test game then I build the apk this is the result:
C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distributions\rapt
-6.14.1.0>C:\Python27\python.exe android.py build game-win32 release
Updating build files.
Updated project.properties
Updated local.properties
Added file C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distrib
utions\rapt-6.14.1.0\build.xml
Updated file C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distr
ibutions\rapt-6.14.1.0\proguard-project.txt
Creating assets directory.
Packaging internal data.
I'm using Ant to build the package.
Buildfile: C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distrib
utions\rapt-6.14.1.0\build.xml
-check-env:
[checkenv] Android SDK Tools Revision 20.0.3
[checkenv] Installed at C:\Documents and Settings\Marlon Heindric\Desktop\For A
ndroid Distributions\rapt-6.14.1.0\android-sdk
-setup:
[echo] Project Name: IbongAdarnaVisualNovelAndroidTest-AdarnaVN Android 1.0
[gettype] Project Type: Application
-pre-clean:
clean:
[delete] Deleting directory C:\Documents and Settings\Marlon Heindric\Desktop
\For Android Distributions\rapt-6.14.1.0\bin
[delete] Deleting directory C:\Documents and Settings\Marlon Heindric\Desktop
\For Android Distributions\rapt-6.14.1.0\gen
[getlibpath] Library dependencies:
[getlibpath] No Libraries
[subant] No sub-builds to iterate on
-set-mode-check:
-set-release-mode:
-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}
-check-env:
[checkenv] Android SDK Tools Revision 20.0.3
[checkenv] Installed at C:\Documents and Settings\Marlon Heindric\Desktop\For A
ndroid Distributions\rapt-6.14.1.0\android-sdk
-setup:
[echo] Project Name: IbongAdarnaVisualNovelAndroidTest-AdarnaVN Android 1.0
[gettype] Project Type: Application
-build-setup:
[echo] Resolving Build Target for IbongAdarnaVisualNovelAndroidTest-AdarnaV
N Android 1.0...
[gettarget] Project Target: Android 2.2
[gettarget] API level: 8
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Documents and Settings\Marlon Heindric\Desktop\For A
ndroid Distributions\rapt-6.14.1.0\bin
[mkdir] Created dir: C:\Documents and Settings\Marlon Heindric\Desktop\For A
ndroid Distributions\rapt-6.14.1.0\bin\res
[mkdir] Created dir: C:\Documents and Settings\Marlon Heindric\Desktop\For A
ndroid Distributions\rapt-6.14.1.0\gen
[mkdir] Created dir: C:\Documents and Settings\Marlon Heindric\Desktop\For A
ndroid Distributions\rapt-6.14.1.0\bin\classes
[echo] ----------
[echo] Resolving Dependencies for IbongAdarnaVisualNovelAndroidTest-AdarnaV
N Android 1.0...
[dependency] Ordered libraries:
[dependency]
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.
[echo] ----------
[echo] Building Libraries with 'release'...
[subant] No sub-builds to iterate on
-pre-build:
-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[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] Generating resource IDs...
[aapt] C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distri
butions\rapt-6.14.1.0\bin\AndroidManifest.xml:2: error: Error: Float types not a
llowed (at 'versionCode' with value '.1').
BUILD FAILED
C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distributions\rapt
-6.14.1.0\android-sdk\tools\ant\build.xml:621: The following error occurred whil
e executing this line:
C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distributions\rapt
-6.14.1.0\android-sdk\tools\ant\build.xml:657: null returned: 1
Total time: 3 seconds
It looks like the build succeeded.
C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distributions\rapt
-6.14.1.0>
Though it is said that the build succeeded, there is a failure message above and I can't find the apk file in the bin directory. There are only: classes folder, res, folder, AndroidManifest.xml, AndroidManifest.xml.d, and jarlist.cache in that folder.
Re: RAPT Problem- Error 183
Posted: Tue Dec 04, 2012 6:38 am
by AxemRed
> Error: Float types not allowed (at 'versionCode' with value '.1')
Re: RAPT Problem- Error 183
Posted: Wed Dec 05, 2012 7:33 am
by AoiUsui
Thanks! I will try to change that!

And I hope this will fix it! I'll report back if this works.
Re: RAPT Problem- Error 183
Posted: Thu Dec 06, 2012 10:18 am
by AoiUsui
I changed the version code, I changed it to 1. But, another problem occurred.
C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distributions\rapt
-6.14.1.0>C:\Python27\python.exe android.py configure game-win32
What is the full name of your application? This name will appear in
the list of installed applications.
[Ibong Adarna Visual Novel Android Test]>
What is the short name of your application? This name will be used in
the launcher, and for application shortcuts.
[AdarnaVNAndroid]>
What is the name of the package?
This is usually of the form com.domain.program or
com.domain.email.program. It must only contain ASCII letters and dots.
[Ibong.Adarna.Android.Test]>
What is the application's version?
This should be the human-readable version that you would present to a
person.
[AdarnaVN Android 1.0]>
What is the version code?
This should be an integer number, and the value should increase
between versions.
[.1]> 1
How would you like your application to be displayed?
1) In landscape mode.
2) In portrait mode.
1-2 [1]> 1
C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distributions\rapt
-6.14.1.0>C:\Python27\python.exe android.py build game-win32 release
Updating build files.
Updated project.properties
Updated local.properties
Added file C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distrib
utions\rapt-6.14.1.0\build.xml
Updated file C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distr
ibutions\rapt-6.14.1.0\proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
Creating assets directory.
Packaging internal data.
I'm using Ant to build the package.
Buildfile: C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distrib
utions\rapt-6.14.1.0\build.xml
-check-env:
[checkenv] Android SDK Tools Revision 20.0.3
[checkenv] Installed at C:\Documents and Settings\Marlon Heindric\Desktop\For A
ndroid Distributions\rapt-6.14.1.0\android-sdk
-setup:
[echo] Project Name: IbongAdarnaVisualNovelAndroidTest-AdarnaVN Android 1.0
[gettype] Project Type: Application
-pre-clean:
clean:
[delete] Deleting directory C:\Documents and Settings\Marlon Heindric\Desktop
\For Android Distributions\rapt-6.14.1.0\bin
[delete] Deleting directory C:\Documents and Settings\Marlon Heindric\Desktop
\For Android Distributions\rapt-6.14.1.0\gen
[getlibpath] Library dependencies:
[getlibpath] No Libraries
[subant] No sub-builds to iterate on
-set-mode-check:
-set-release-mode:
-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}
-check-env:
[checkenv] Android SDK Tools Revision 20.0.3
[checkenv] Installed at C:\Documents and Settings\Marlon Heindric\Desktop\For A
ndroid Distributions\rapt-6.14.1.0\android-sdk
-setup:
[echo] Project Name: IbongAdarnaVisualNovelAndroidTest-AdarnaVN Android 1.0
[gettype] Project Type: Application
-build-setup:
[echo] Resolving Build Target for IbongAdarnaVisualNovelAndroidTest-AdarnaV
N Android 1.0...
[gettarget] Project Target: Android 2.2
[gettarget] API level: 8
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Documents and Settings\Marlon Heindric\Desktop\For A
ndroid Distributions\rapt-6.14.1.0\bin
[mkdir] Created dir: C:\Documents and Settings\Marlon Heindric\Desktop\For A
ndroid Distributions\rapt-6.14.1.0\bin\res
[mkdir] Created dir: C:\Documents and Settings\Marlon Heindric\Desktop\For A
ndroid Distributions\rapt-6.14.1.0\gen
[mkdir] Created dir: C:\Documents and Settings\Marlon Heindric\Desktop\For A
ndroid Distributions\rapt-6.14.1.0\bin\classes
[echo] ----------
[echo] Resolving Dependencies for IbongAdarnaVisualNovelAndroidTest-AdarnaV
N Android 1.0...
[dependency] Ordered libraries:
[dependency]
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.
[echo] ----------
[echo] Building Libraries with 'release'...
[subant] No sub-builds to iterate on
-pre-build:
-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[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] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Compiling 15 source files to C:\Documents and Settings\Marlon Heindr
ic\Desktop\For Android Distributions\rapt-6.14.1.0\bin\classes
-post-compile:
-obfuscate:
-dex:
[dex] Converting compiled files and external libraries into C:\Documents a
nd Settings\Marlon Heindric\Desktop\For Android Distributions\rapt-6.14.1.0\bin\
classes.dex...
-crunch:
[crunch] Crunching PNG Files in source dir: C:\Documents and Settings\Marlon
Heindric\Desktop\For Android Distributions\rapt-6.14.1.0\res
[crunch] To destination dir: C:\Documents and Settings\Marlon Heindric\Deskto
p\For Android Distributions\rapt-6.14.1.0\bin\res
[crunch] Processing image to cache: C:\Documents and Settings\Marlon Heindric
\Desktop\For Android Distributions\rapt-6.14.1.0\res\drawable\icon.png => C:\Doc
uments and Settings\Marlon Heindric\Desktop\For Android Distributions\rapt-6.14.
1.0\bin\res\drawable\icon.png
[crunch] (processed image to cache entry C:\Documents and Settings\Marlon H
eindric\Desktop\For Android Distributions\rapt-6.14.1.0\bin\res\drawable\icon.pn
g: 52% size of source)
[crunch] Crunched 1 PNG files to update cache
-package-resources:
[aapt] Creating full resource package...
[aapt] (skipping file '.android.json' due to ANDROID_AAPT_IGNORE patter
n '.*')
-package:
[apkbuilder] Current build type is different than previous build: forced apkbuil
der run.
[apkbuilder] Creating IbongAdarnaVisualNovelAndroidTest-AdarnaVN Android 1.0-rel
ease-unsigned.apk for release...
-post-package:
-release-prompt-for-password:
-release-nosign:
-release-sign:
[echo] Signing final apk...
BUILD FAILED
C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distributions\rapt
-6.14.1.0\android-sdk\tools\ant\build.xml:1096: The following error occurred whi
le executing this line:
C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distributions\rapt
-6.14.1.0\android-sdk\tools\ant\build.xml:1108: C:\Documents and Settings\Marlon
Heindric\Desktop\For Android Distributions\rapt-6.14.1.0\android.keystore (The
system cannot find the file specified)
Total time: 28 seconds
It looks like the build succeeded.
C:\Documents and Settings\Marlon Heindric\Desktop\For Android Distributions\rapt
-6.14.1.0>
Please help
Re: RAPT Problem- Error 183
Posted: Thu Dec 06, 2012 5:59 pm
by PyTom
Did you let installsdk create the keystore? It looks like you didn't.
Re: RAPT Problem- Error 183
Posted: Fri Dec 07, 2012 9:55 am
by AoiUsui
keystore? Is that the one that asks to be kept? I think, I should try it again.
Again, thanks for the reply! 
Re: RAPT Problem- Error 183
Posted: Tue Dec 18, 2012 10:59 am
by AoiUsui
I've finally made the apk!

Thank you very much for your help! I really appreciate it!
But the game is still in the process of making.
Thank You Very Much! 