Problem is:
If it has READONLY Permission on Server (as described on this Thred), the compiler says Access Denied.
If the File has READ&WRITE Permission, the Compiler deletes the File and Directory values\strings.xml.
How can I compile and keep this data?
Thats right, but AFAIK he wrote about a company server where he didnt has full access to and cant change that, too.
Furthermore I can't get the file "value/string.xml" readonly permissions, it's on our companies fileserver, I didn't have permissions to change the permisssions. After compiling the files will be deleted.
I'm using the NETWORK Permissions, the FILE attribute will be ignored on the Fileserver.
Furthermore there's no Attribute on Folder level, so it delete Folder and File while compiling.
On Network Volume G:\ the READONLY property will be ignored.
On Local Volume (outside Project folder), it adds "/strings.xml" automatically to the Path.
If used Project Property to add the following Path: #AdditionalRes: D:\AndroidApps\values
Thanks, compiling is now possible.
If I open the Activity, I get now the following Error:
** Activity (datainterchange) Create, isFirst = true **
java.lang.NoSuchMethodError: no static method with name='reportCrash' signature='()V' in class Lcom/dropbox/sync/android/NativeLib;
at com.dropbox.sync.android.NativeLib.nativeClassInit(Native Method)
at com.dropbox.sync.android.NativeLib.<clinit>(NativeLib.java:27)
at com.dropbox.sync.android.CoreAccountManager.initNativeLib(CoreAccountManager.java:155)
at com.dropbox.sync.android.CoreAccountManager.<init>(CoreAccountManager.java:126)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:150)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:116)
at anywheresoftware.b4a.dropbox.DbxAccountManagerWrapper.Initialize(DbxAccountManagerWrapper.java:53)
at b4a.dms.poellath.datainterchange._activity_create(datainterchange.java:346)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:174)
at b4a.dms.poellath.datainterchange.afterFirstLayout(datainterchange.java:98)
at b4a.dms.poellath.datainterchange.access$100(datainterchange.java:16)
at b4a.dms.poellath.datainterchange$WaitForLayout.run(datainterchange.java:76)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5414)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1187)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
at dalvik.system.NativeStart.main(Native Method)
Yes, I forgot to upgrade the dropbox-sync-sdk-android.jar file too.
After Upgrading I get next error:
android.content.res.Resources$NotFoundException: String resource ID #0x0
at android.content.res.Resources.getText(Resources.java:1068)
at android.content.res.Resources.getString(Resources.java:1162)
at android.content.Context.getString(Context.java:340)
at com.dropbox.sync.android.DbxAccountManager.validateAppContext(DbxAccountManager.java:622)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:203)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:170)
at com.dropbox.sync.android.DbxAccountManager.getInstance(DbxAccountManager.java:117)
at anywheresoftware.b4a.dropbox.DbxAccountManagerWrapper.Initialize(DbxAccountManagerWrapper.java:53)
at b4a.dms.poellath.datainterchange._activity_create(datainterchange.java:349)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:174)
at b4a.dms.xxx.datainterchange.afterFirstLayout(datainterchange.java:98)
at b4a.dms.xxx.datainterchange.access$100(datainterchange.java:16)
at b4a.dms.xxx.datainterchange$WaitForLayout.run(datainterchange.java:76)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5414)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1187)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
at dalvik.system.NativeStart.main(Native Method)
Meanwhile I updated to B4A V3.80, copied the Projektsource to local HDD Volume (instead of Network ressource) and created the resourcefile as described, but I get the same error.