If the file have NETWORK write permission, it sholdn't be a problem to set the FILE readonly attribute.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?
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.
Generating R file. Error
ERROR: resource directory 'G:\DATEN\Software\MDE\Objects\res\values' does not exist
Generating R file. Error
invalid resource directory name: D:\AndroidApps\values/strings.xml
D:\AndroidApps\values/strings.xml
** 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)
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)
I agree. This issue happens because of a bug in Dropbox library.I can't understand why does the upgrade makes so much trouble
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?