RAPT Problem- Error 183

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
AoiUsui
Regular
Posts: 42
Joined: Mon Nov 26, 2012 11:21 am
Completed: Alice's Dolls
Projects: Alice's Dolls, Tappy Virus
Organization: Otaku Brigade
itch: otakubrigade
Location: Philippines
Contact:

RAPT Problem- Error 183

#1 Post 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
Attachments
This is the picture of the problem.
This is the picture of the problem.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: RAPT Problem- Error 183

#2 Post by PyTom »

Try cleaning out the assets directory.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
AoiUsui
Regular
Posts: 42
Joined: Mon Nov 26, 2012 11:21 am
Completed: Alice's Dolls
Projects: Alice's Dolls, Tappy Virus
Organization: Otaku Brigade
itch: otakubrigade
Location: Philippines
Contact:

Re: RAPT Problem- Error 183

#3 Post 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! :)

User avatar
AoiUsui
Regular
Posts: 42
Joined: Mon Nov 26, 2012 11:21 am
Completed: Alice's Dolls
Projects: Alice's Dolls, Tappy Virus
Organization: Otaku Brigade
itch: otakubrigade
Location: Philippines
Contact:

Re: RAPT Problem- Error 183

#4 Post 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.
Attachments
RaptProb2.JPG
Last edited by AoiUsui on Tue Dec 04, 2012 8:47 am, edited 1 time in total.

AxemRed
Veteran
Posts: 482
Joined: Sun Jan 09, 2011 7:10 am
Contact:

Re: RAPT Problem- Error 183

#5 Post by AxemRed »

> Error: Float types not allowed (at 'versionCode' with value '.1')

User avatar
AoiUsui
Regular
Posts: 42
Joined: Mon Nov 26, 2012 11:21 am
Completed: Alice's Dolls
Projects: Alice's Dolls, Tappy Virus
Organization: Otaku Brigade
itch: otakubrigade
Location: Philippines
Contact:

Re: RAPT Problem- Error 183

#6 Post by AoiUsui »

Thanks! I will try to change that! :) And I hope this will fix it! I'll report back if this works.

User avatar
AoiUsui
Regular
Posts: 42
Joined: Mon Nov 26, 2012 11:21 am
Completed: Alice's Dolls
Projects: Alice's Dolls, Tappy Virus
Organization: Otaku Brigade
itch: otakubrigade
Location: Philippines
Contact:

Re: RAPT Problem- Error 183

#7 Post 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
Attachments
RaptPorb3.JPG

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: RAPT Problem- Error 183

#8 Post by PyTom »

Did you let installsdk create the keystore? It looks like you didn't.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
AoiUsui
Regular
Posts: 42
Joined: Mon Nov 26, 2012 11:21 am
Completed: Alice's Dolls
Projects: Alice's Dolls, Tappy Virus
Organization: Otaku Brigade
itch: otakubrigade
Location: Philippines
Contact:

Re: RAPT Problem- Error 183

#9 Post by AoiUsui »

keystore? Is that the one that asks to be kept? I think, I should try it again.

Again, thanks for the reply! :)

User avatar
AoiUsui
Regular
Posts: 42
Joined: Mon Nov 26, 2012 11:21 am
Completed: Alice's Dolls
Projects: Alice's Dolls, Tappy Virus
Organization: Otaku Brigade
itch: otakubrigade
Location: Philippines
Contact:

Re: RAPT Problem- Error 183

#10 Post by AoiUsui »

I've finally made the apk! :D 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! :D

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Milkymalk