You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-compile:
[javac] /opt/android-sdk-linux_x86-r13/tools/ant/build.xml:600: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 10 source files to /home/laga/dev/fdroid/fdroidserver/build/org.totschnig.myexpenses/bin/classes
[javac] /home/laga/dev/fdroid/fdroidserver/build/org.totschnig.myexpenses/src/org/totschnig/myexpenses/MyExpenses.java:905: cannot find symbol
[javac] symbol : variable app
[javac] location: class org.totschnig.myexpenses.R.raw
[javac] InputStream rawResource = getResources().openRawResource(R.raw.app);
[javac] ^
[javac] Note: /home/laga/dev/fdroid/fdroidserver/build/org.totschnig.myexpenses/src/org/totschnig/myexpenses/GrisbiImport.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
This is with r13 of the SDK and target=android-7.
Regards,
Michael
The text was updated successfully, but these errors were encountered:
Building MyExpenses requires a slighly patched build.xml:
<import file="${sdk.dir}/tools/ant/build_with_config.xml" />
<!-- build_with_config is the original build.xml from ADK with config added to the compile task
<target name="-compile" depends="-config, -build-setup, -pre-build, -code-gen, -pre-compile">
-->
This allows to generate a resource file from a template, with a time stamp of the build.
I have found an alternative way of configuring the build without need of patching Androids' build.xml. ea8796e Now you should be able to build MyExpenses
-compile:
[javac] /opt/android-sdk-linux_x86-r13/tools/ant/build.xml:600: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 10 source files to /home/laga/dev/fdroid/fdroidserver/build/org.totschnig.myexpenses/bin/classes
[javac] /home/laga/dev/fdroid/fdroidserver/build/org.totschnig.myexpenses/src/org/totschnig/myexpenses/MyExpenses.java:905: cannot find symbol
[javac] symbol : variable app
[javac] location: class org.totschnig.myexpenses.R.raw
[javac] InputStream rawResource = getResources().openRawResource(R.raw.app);
[javac] ^
[javac] Note: /home/laga/dev/fdroid/fdroidserver/build/org.totschnig.myexpenses/src/org/totschnig/myexpenses/GrisbiImport.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
This is with r13 of the SDK and target=android-7.
Regards,
Michael
The text was updated successfully, but these errors were encountered: