Beta [solved] 9.5#1 Foldername is not valid

DonManfred

Expert
Licensed User
When trying to compile a new project i get an error when compiling.
B4A Version: 9.50 BETA #1
Java Version: 8
Parsing code. (0.15s)
Building folders structure. (0.29s)
Compiling code. (0.24s)
Compiling layouts code. (0.05s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Running custom action. (0.14s)
Generating R file. (1.00s)
Compiling generated Java code. (5.64s)
Convert byte code - optimized dex. (23.55s)
Packaging files. (3.16s)
Copying libraries resources Error
Der Verzeichnisname ist ungültig.
I´m not sure which Folder is meant. Any idea?
 

DonManfred

Expert
Licensed User
Have you tried to run B4A as admin and copy project to another folder ?
i dont want to run it as admin as it happens on our Server. It does work in the past.
The Additional libs folder have write access. Jetifiertool runs fine. Even SDK Manager to download Artifacts.
 

DonManfred

Expert
Licensed User
If it helps:

This is the ide log

Gui: 582
Compilation task: 626.8577
Compilation task: 252.0259
Failed to create folder. Retry: 4
Failed to create folder. Retry: 3
Failed to create folder. Retry: 2
Failed to create folder. Retry: 1
ExitCode: 1
Output:
jarsigner: attempt to rename bin\temp.ap_ to bin\temp.ap_.orig failed

Error:

jarsigner: attempt to rename bin\temp.ap_ to bin\temp.ap_.orig failed

Cleaning your project may solve this problem. Tools - Clean Project
opt: waiting for connection on port: 41086
opt: *************************
opt: waiting for latch(1).
opt: connected...
opt: 33
optimizedDex receive: 33
opt: files: [c:\java\b4xadd~1\b4a\appcom~1.jar, c:\java\b4xadd~1\b4a\design~1.jar, c:\android\tools\..\extras\b4a_re~1\androidx\legacy\lebb6f~1\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\firebase\fi8f7e~1\172~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\firebase\fireba~2\172~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\firebase\fi38a0~1\170~1.0\unpack~1.0\jars\classes.jar, c:\java\b4xadd~1\b4a\crchel~1.jar, c:\java\b4xadd~1\b4a\zoomage.jar, c:\android\tools\..\extras\b4a_re~1\androidx\legacy\legacy~3\10803e~1.0\unpack~1.0\jars\classes.jar, c:\java\basic4~1\librar~1\b4xenc~1.jar, c:\android\tools\..\extras\b4a_re~1\com\crashl~1\sdk\android\beta\1208d6~1.10\unpack~1.10\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\firebase\fi1303~1\180~1.0\unpack~1.0\jars\classes.jar, c:\java\basic4~1\librar~1\runtim~2.jar, c:\java\b4xadd~1\b4a\byteco~1.jar, c:\java\basic4~1\librar~1\fireba~2.jar, c:\java\basic4~1\librar~1\dateut~1.jar, c:\java\b4xadd~1\b4a\xmllay~1.jar, c:\java\basic4~1\librar~1\comgoo~1.jar, c:\java\basic4~1\librar~1\json.jar, c:\android\tools\..\extras\b4a_re~1\androidx\arch\core\core-r~1\21d57c~1.0\unpack~1.0\jars\classes.jar, c:\java\basic4~1\librar~1\ime.jar, c:\android\tools\..\extras\b4a_re~1\androidx\localb~1\localb~1\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\asyncl~1\asyncl~1\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\android\gms\plebe9~1\170~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\interp~1\interp~1\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\crashl~1\sdk\android\crashl~1\210~1.1\unpack~1.1\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\lifecy~1\li6328~1\21d57c~1.0\unpack~1.0\jars\classes.jar, c:\java\basic4~1\librar~1\animat~1.jar, c:\android\tools\..\extras\b4a_re~1\androidx\lifecy~1\li42b3~1\21d57c~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\lifecy~1\lid846~1\21d57c~1.0\unpack~1.0\jars\classes.jar, c:\java\basic4~1\librar~1\sql.jar, c:\java\basic4~1\librar~1\fireba~4.jar, c:\android\tools\..\extras\b4a_re~1\androidx\saveds~1\saveds~1\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\legacy\legacy~2\10803e~1.0\unpack~1.0\jars\classes.jar, c:\java\basic4~1\librar~1\javaob~1.jar, c:\java\basic4~1\librar~1\xcusto~1.jar, c:\java\basic4~1\librar~1\remote~1.jar, c:\android\tools\..\extras\b4a_re~1\com\google\android\gms\pladd1~1\172~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\lifecy~1\li8d64~1\21d57c~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\arch\core\core-c~1\21d57c~1.0\core-c~1.jar, c:\android\tools\..\extras\b4a_re~1\androidx\docume~1\docume~1\103623~1.1\unpack~1.1\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\cursor~1\cursor~1\10803e~1.0\unpack~1.0\jars\classes.jar, c:\java\b4xadd~1\b4a\jdbcsql.jar, c:\java\b4xadd~1\b4a\ahlocale.jar, c:\android\tools\..\extras\b4a_lo~1\unpack~3.and\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\activity\activity\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\android\gms\play-s~4\170~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\print\print\10803e~1.0\unpack~1.0\jars\classes.jar, c:\java\basic4~1\librar~1\reflec~1.jar, c:\java\basic4~1\librar~1\string~1.jar, c:\android\tools\..\extras\b4a_re~1\androidx\cardview\cardview\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\lifecy~1\lifecy~1\21d57c~1.0\lifecy~1.jar, c:\android\tools\..\extras\b4a_re~1\androidx\slidin~1\slidin~1\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\android\gms\pld5a8~1\170~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\android\gms\pl93a7~1\172~1.0\unpack~1.0\jars\classes.jar, c:\java\basic4~1\librar~1\xui.jar, c:\android\tools\..\extras\b4a_re~1\androidx\multidex\multidex\20519b~1.1\unpack~1.1\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\annota~1\annota~1\112ba0~1.0\annota~1.jar, c:\java\b4xadd~1\b4a\shortc~1.jar, c:\android\tools\..\extras\b4a_re~1\androidx\drawer~1\drawer~1\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\versio~1\versio~1\112ba0~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\vector~1\vector~1\112ba0~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\custom~1\custom~1\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\swiper~1\swiper~1\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\vector~1\vector~2\112ba0~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\loader\loader\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\android\gms\pl80d0~1\170~1.0\unpack~1.0\jars\classes.jar, c:\java\basic4~1\librar~1\random~1.jar, c:\android\tools\..\extras\b4a_lo~1\unpack~2.and\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\coordi~1\coordi~1\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\android\gms\pl8894~1\172~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\collec~1\collec~1\112ba0~1.0\collec~1.jar, c:\java\basic4~1\librar~1\bitmap~1.jar, c:\android\tools\..\extras\b4a_re~1\com\google\firebase\fi9805~1\200~1.0\unpack~1.0\jars\classes.jar, c:\java\basic4~1\librar~1\okhttp.jar, c:\android\tools\..\extras\b4a_re~1\androidx\viewpa~1\viewpa~1\10803e~1.0\unpack~1.0\jars\classes.jar, c:\java\basic4~1\librar~1\b4asha~1.jar, c:\android\tools\..\extras\b4a_re~1\androidx\appcom~1\appcom~2\112ba0~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\firebase\fi9177~1\162~1.1\unpack~1.1\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\firebase\fi7586~1\191~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\crashl~1\sdk\android\answers\141158~1.7\unpack~1.7\jars\classes.jar, c:\android\tools\..\extras\b4a_lo~1\unpack~1.and\jars\classes.jar, c:\java\basic4~1\librar~1\okio-1~1.jar, c:\java\b4xadd~1\b4a\dialogs.jar, c:\java\basic4~1\librar~1\phone.jar, c:\android\tools\..\extras\b4a_re~1\com\google\firebase\fi08c2~1\200~1.0\unpack~1.0\jars\classes.jar, c:\java\b4xadd~1\b4a\dr34a8~1.jar, c:\android\tools\..\extras\b4a_re~1\androidx\fragment\fragment\112ba0~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\crashl~1\sdk\android\crashl~2\27f29f~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\transi~1\transi~1\112ba0~1.0\unpack~1.0\jars\classes.jar, c:\java\b4xadd~1\b4a\net.jar, c:\android\tools\..\extras\b4a_re~1\com\google\android\gms\plb913~1\172~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\android\gms\pl2326~1\172~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\io\fabric\sdk\android\fabric\1437e9~1.8\unpack~1.8\jars\classes.jar, c:\java\b4xadd~1\b4a\jackso~1.jar, c:\java\basic4~1\librar~1\core.jar, c:\android\tools\..\extras\b4a_re~1\com\google\android\gms\pleb8c~1\171~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\media\media\112ba0~1.0\unpack~1.0\jars\classes.jar, c:\java\basic4~1\librar~1\okhttp~1.jar, c:\android\tools\..\extras\b4a_re~1\androidx\recycl~1\recycl~1\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\android\gms\pl93bb~1\172~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\android\gms\plb187~1\171~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\com\google\android\material\material\10803e~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\core\core\112ba0~1.0\unpack~1.0\jars\classes.jar, c:\android\tools\..\extras\b4a_re~1\androidx\appcom~1\appcom~1\112ba0~1.0\unpack~1.0\jars\classes.jar, c:\java\b4xadd~1\b4a\camera~3.jar, c:\java\b4xadd~1\b4a\dropbo~2.jar, bin\classes]
opt: after process files.
OptimizedDexer exitCode=0
Optimized worked...
opt: waiting for connection on port: 41086
opt: *************************
opt: waiting for latch(1).
Compilation task: 43504.055
Gui: 114
OptimizedDexer exitCode=-1
dontWait=False
Gui: 592
 

AnandGupta

Well-Known Member
Licensed User
If it helps:

This is the ide log
jarsigner: attempt to rename bin\temp.ap_ to bin\temp.ap_.orig failed

Error:

jarsigner: attempt to rename bin\temp.ap_ to bin\temp.ap_.orig failed

Cleaning your project may solve this problem. Tools - Clean Project
Hope you have already Cleaned as suggested.
Look for 'bin' folder somewhere in your development folders, and its rights for read/write.

Regards,

Anand
 

DonManfred

Expert
Licensed User
Where is the project saved?
This all in running in a Windows 2012r2 Teminalserver.

The SDK is installed in C:\Android
B4A in C:\Java\Basic4Android
Projects in C:\Java\FBDN\

The project i have problems with is C:\Java\FBDN\ABAbnahme\ABAbnahme.b4a
Do you have v9.30 installed? Does it work with that version?
I overwrote the installation with the beta. 9.3 was installed and it had worked with this Version last week.
 

DonManfred

Expert
Licensed User
Maybe Android SDK folder is locked?
Must be something like that. It did not worked this morning.
I created the thread here and moved development to my PC where it does not raise this problem.
On Terminalserver i installed a complete new ReadyToRunSDK, updated all Artifacts....

I now copied the project back to the Terminalserver and tried again. The error does not raise anymore. The project is compiling fine now.

Case closed
 
Top