Android Question Compile and run from NAS server

TrisectDevelopment

Active Member
Licensed User
Longtime User
I have just purchased a NAS Server from Western Digital. Its a WD MyBook Live.

So I copied all my source code to the NAS Server and I can open them from B4A. I can compile and add new files(layouts) from B4A.
But when I try to run it I get an error.
"Unfortunately 'APP' has stopped."

If I moved my project to my desktop it runs okay.

Anyone know what could be the problem.
I would like to use my NAS Server as a Development drive. Thats the hole point.
 

TrisectDevelopment

Active Member
Licensed User
Longtime User
Try to run it from NAS in release:
 
Upvote 0

TrisectDevelopment

Active Member
Licensed User
Longtime User
I deleted the APK file on the NAS and compilede Again (under Release) and this time it compiled without error, but when trying to run it give me the old error again.
 
Upvote 0

TrisectDevelopment

Active Member
Licensed User
Longtime User
Heres the logs when trying the emulator:



 
Upvote 0

TrisectDevelopment

Active Member
Licensed User
Longtime User
Its the same with a real device.
The App gets installed.
I then click Open on the device and after some time I get the "Unfortunately" error.

This is the log:

I tried to change the right of the APK file on my NAS server, but that did not help.

I think that it maybe something to do with rights because it runs fine if I run the same project from my local harddrive.
 
Upvote 0

TrisectDevelopment

Active Member
Licensed User
Longtime User
This is my code.

This code Works if I run it from my harddisk.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…