The problem occurs with all projects (i.e. the new ones and the downloaded samples). This started happening only since last two days. Probably, after I updated the fuse tools to the latest version. Also, I applied the latest patch for android studio 2.1.*(just fyi, in case it matters).
Current fuse version on my machine: Fuse version 0.12.4 (build 6406)
On running with fuse build --target=Android --run -v, here’s the output:
Uno 0.27.19 (build 2575) Windows 10 x86 125974c
Configuring
Project file: fp1.unoproj
Search paths: C:\Program Files (x86)\Fuse\Packages, C:\ProgramData\Uno\Packages
Packages: UnoCore (0.27.22), Uno.Collections (0.27.3), ObjC (0.27.2), Experimental.iOS (0.27.2), Uno.Geometry (0.27.3), Uno.Threading (0.27.22), Uno.Net.Sockets (0.27.3), Fuse.Designer (0.27.16), FuseCore (0.27.16), Experimental.Physics (0.27.16), Fuse.Animations (0.27.16), Fuse.Drawing (0.27.16), Fuse.Drawing.Batching (0.27.16), Fuse.Drawing.Meshes (0.27.16), Fuse.Drawing.Planar (0.27.16), Android (0.27.4), Experimental.TextureLoader (0.27.3), Uno.Net.Http (0.27.22), Experimental.Http (0.27.16), Fuse.Scripting (0.27.16), Fuse.Triggers (0.27.16), Fuse.Elements (0.27.16), Fuse.Drawing.Primitives (0.27.16), Fuse.Drawing.Polygons (0.27.16), Fuse.Drawing.Paths (0.27.16), Fuse.Entities (0.27.16), Fuse.Gestures (0.27.16), Fuse.Navigation (0.27.16), Uno.Data.Json (0.27.3), Uno.Testing (0.27.22), Fuse.Camera (0.27.16), Fuse.GeoLocation (0.27.16), Fuse.Launcher (0.27.16), Fuse.Scripting.Duktape (0.27.16), Fuse.Scripting.JavaScriptCore (0.27.16), Fuse.Scripting.Jurassic (0.27.16), Fuse.Scripting.V8 (0.27.16), Fuse.Storage (0.27.16), Fuse.UserEvents (0.27.16), Fuse.Vibration (0.27.16), Fuse.Reactive (0.27.16), Fuse.Shapes (0.27.16), Fuse.Controls (0.27.16), Fuse.Effects (0.27.16), Fuse.Physics (0.27.16), Fuse.BasicTheme (0.27.16), Fuse.Video (0.27.16), Fuse.Themes (0.27.16), Fuse.Android (0.27.16), Fuse.Desktop (0.27.16), Fuse.iOS (0.27.16), fp1 (0.0.0)
Output dir: build\Android\Debug
(13,506.84 ms)
Compiling syntax tree (29,461.71 ms)
Generating code and data
309 namespaces stripped.
5082 types stripped.
47323 fields stripped.
102102 functions stripped.
582 classes sealed.
1104 functions sealed.
* 195 functions stripped from vtable.
(53,669.20 ms)
Building Android app
1/2: libfp1.so
2/2: fp1.apk
Buildfile: F:\My Programs\Fuse Stuffs\Projects\fp1\build\Android\Debug\fp1\app\src\main\build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 24.4.1
[checkenv] Installed at C:\Users\Pratik\AppData\Local\Android\sdk
-setup:
[echo] Project Name: fp1
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[getbuildtools] Using latest Build Tools: 23.0.2
[echo] Resolving Build Target for fp1...
[gettarget] Project Target: Android 5.0.1
[gettarget] API level: 21
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: F:\My Programs\Fuse Stuffs\Projects\fp1\build\Android\Debug\fp1\app\src\main\bin\rsObj
[mkdir] Created dir: F:\My Programs\Fuse Stuffs\Projects\fp1\build\Android\Debug\fp1\app\src\main\bin\rsLibs
[echo] ----------
[echo] Resolving Dependencies for fp1...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Found Deleted Target File
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Compiling 76 source files to F:\My Programs\Fuse Stuffs\Projects\fp1\build\Android\Debug\fp1\app\src\main\bin\classes
[javac] public class fp1 extends android.app.Activity implements ActivityCompat.OnRequestPermissionsResultCallback
[javac] ^
[javac] symbol: class OnRequestPermissionsResultCallback
[javac] location: class ActivityCompat
[javac] @Override
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 2 errors
[javac] 3 warnings
(12,315.83 ms)
Build completed in 108.99 seconds.
0 Warning(s)
1 Error(s)