Android Tutorial B4A-Bridge source code

teddybear

Well-Known Member
Licensed User
I'm doing something wrong. Copying the .res folder doesn't seem to work. The contents of .res all get deleted/overwritten when I try to compile and I get the same error as above.
1.Extract the res.zip to the project folder
2. Add #AdditionalRes: ..\res to Main module
 

agraham

Expert
Licensed User
Longtime User
Nope that doesn't work either. Get different errors now. You say extract res.zip, I don't have a res.zip so I'm copying it from the b4a_bridge.apk. That's probably the problem as in .res in the apk the xml files are not actually xml but some binary format. Where can I find res.zip?
 

teddybear

Well-Known Member
Licensed User
The zip was uploaded at post#60, delete the res folder first, then extract it
 

agraham

Expert
Licensed User
Longtime User
I'm obviously being stupid but I'm still getting the 'not well formed' and other errors.
Finally got it to work. Many thanks for the help. The final problem was this
2. Add #AdditionalRes: ..\res to Main module
I cut and pasted this but there is an extra space after the colon that was messing the path up! Luckily I noticed it when carefully comparing your screenshot to my code in the IDE.
 

teddybear

Well-Known Member
Licensed User
The extra space after the colon is irrelevant. the error log of post # 64 was caused by the IDE opening the project and compiling it at the first time , recompiling will be ok
 

aeric

Expert
Licensed User
Longtime User
I have posted my modified version. Maybe it works for you.


or https://github.com/pyhoon/B4A-Bridge
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…