# Android Compiling errors?

**URL:** <https://forums.fusetools.com/t/android-compiling-errors/1342>\
**Category:** Bug Reports\
**Created:** [June 13, 2016, 4:15pm UTC](https://forums.fusetools.com/t/android-compiling-errors/1342 "2016-06-13T16:15:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevin](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@kevin](https://forums.fusetools.com/u/kevin)\
**Post date:** [June 13, 2016, 4:15pm UTC](https://forums.fusetools.com/t/android-compiling-errors/1342/1 "2016-06-13T16:15:14Z")

</div>

When im trying to compile a Android app im getting getting this `[javac] warning: … major version 51 is newer than 50, the highest major version supported by this compiler.`

`fuse build --target=Android --configuration=Release` how can i fix this?

ps when the apps is finished compiling, it doesn’t run properly in my device. (works fine on ios)

```auto
  MMKs-iMac:v5 Kevin$ fuse build --target=Android --configuration=Release
  Uno 0.29.20 (build 2873) OS X 10.11 i386 eb56555

  Configuring (10.24s)
  Compiling syntax tree (14.59s)
  Generating code and data (33.16s)
  Building Android app
  1/2: libv5.so
  2/2: v5.apk
      [javac] warning: java/io/BufferedInputStream.class(java/io:BufferedInputStream.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/io/File.class(java/io:File.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/io/IOException.class(java/io:IOException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/io/InputStream.class(java/io:InputStream.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/net/CookieHandler.class(java/net:CookieHandler.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/net/CookieManager.class(java/net:CookieManager.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/net/CookiePolicy.class(java/net:CookiePolicy.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/nio/ByteBuffer.class(java/nio:ByteBuffer.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/util/HashMap.class(java/util:HashMap.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/util/Log.class(android/util:Log.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/annotation/SuppressLint.class(android/annotation:SuppressLint.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/app/Activity.class(android/app:Activity.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/net/http/HttpResponseCache.class(android/net/http:HttpResponseCache.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/os/AsyncTask.class(android/os:AsyncTask.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/os/Build.class(android/os:Build.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/Object.class(java/lang:Object.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/String.class(java/lang:String.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/Exception.class(java/lang:Exception.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/io/BufferedOutputStream.class(java/io:BufferedOutputStream.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/net/HttpURLConnection.class(java/net:HttpURLConnection.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/net/MalformedURLException.class(java/net:MalformedURLException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/net/SocketTimeoutException.class(java/net:SocketTimeoutException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/net/URL.class(java/net:URL.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/security/cert/CertificateException.class(java/security/cert:CertificateException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/security/cert/X509Certificate.class(java/security/cert:X509Certificate.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/util/Iterator.class(java/util:Iterator.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/util/List.class(java/util:List.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/util/Locale.class(java/util:Locale.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/util/Map.class(java/util:Map.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: javax/net/ssl/HostnameVerifier.class(javax/net/ssl:HostnameVerifier.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: javax/net/ssl/HttpsURLConnection.class(javax/net/ssl:HttpsURLConnection.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: javax/net/ssl/SSLContext.class(javax/net/ssl:SSLContext.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: javax/net/ssl/SSLSession.class(javax/net/ssl:SSLSession.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/Integer.class(java/lang:Integer.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/Boolean.class(java/lang:Boolean.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/Void.class(java/lang:Void.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/StringBuilder.class(java/lang:StringBuilder.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/Runnable.class(java/lang:Runnable.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/util/Observer.class(java/util:Observer.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/util/Observable.class(java/util:Observable.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/webkit/WebChromeClient.class(android/webkit:WebChromeClient.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/webkit/WebView.class(android/webkit:WebView.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/webkit/WebViewClient.class(android/webkit:WebViewClient.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/graphics/Bitmap.class(android/graphics:Bitmap.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/reflect/Field.class(java/lang/reflect:Field.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/reflect/Modifier.class(java/lang/reflect:Modifier.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/util/LongSparseArray.class(android/util:LongSparseArray.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/webkit/JavascriptInterface.class(android/webkit:JavascriptInterface.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/annotation/TargetApi.class(android/annotation:TargetApi.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/Long.class(java/lang:Long.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/Class.class(java/lang:Class.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/ClassNotFoundException.class(java/lang:ClassNotFoundException.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/Throwable.class(java/lang:Throwable.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/os/Bundle.class(android/os:Bundle.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/util/ArrayList.class(java/util:ArrayList.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: java/lang/reflect/Method.class(java/lang/reflect:Method.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/util/DisplayMetrics.class(android/util:DisplayMetrics.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/View.class(android/view:View.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/ViewTreeObserver.class(android/view:ViewTreeObserver.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/Window.class(android/view:Window.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/View$OnLayoutChangeListener.class(android/view:View$OnLayoutChangeListener.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/widget/FrameLayout.class(android/widget:FrameLayout.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/Gravity.class(android/view:Gravity.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/app/ActionBar.class(android/app:ActionBar.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/WindowManager.class(android/view:WindowManager.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/os/Looper.class(android/os:Looper.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/Display.class(android/view:Display.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/Surface.class(android/view:Surface.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/KeyEvent.class(android/view:KeyEvent.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/content/Intent.class(android/content:Intent.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/app/AlertDialog.class(android/app:AlertDialog.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/widget/TextView.class(android/widget:TextView.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/widget/ScrollView.class(android/widget:ScrollView.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/Choreographer.class(android/view:Choreographer.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/app/NativeActivity.class(android/app:NativeActivity.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/content/DialogInterface.class(android/content:DialogInterface.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/graphics/SurfaceTexture.class(android/graphics:SurfaceTexture.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/content/res/AssetManager.class(android/content/res:AssetManager.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/content/res/Configuration.class(android/content/res:Configuration.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/support/v4/app/ActivityCompat.class(android/support/v4/app:ActivityCompat.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/app/Fragment.class(android/app:Fragment.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/app/TaskStackBuilder.class(android/app:TaskStackBuilder.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/content/Context.class(android/content:Context.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/graphics/Canvas.class(android/graphics:Canvas.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/util/AttributeSet.class(android/util:AttributeSet.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/ActionMode.class(android/view:ActionMode.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/ActionMode$Callback.class(android/view:ActionMode$Callback.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/ContextMenu.class(android/view:ContextMenu.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/ContextMenu$ContextMenuInfo.class(android/view:ContextMenu$ContextMenuInfo.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/Menu.class(android/view:Menu.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/MenuItem.class(android/view:MenuItem.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/MotionEvent.class(android/view:MotionEvent.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/WindowManager$LayoutParams.class(android/view:WindowManager$LayoutParams.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/LayoutInflater.class(android/view:LayoutInflater.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/LayoutInflater$Factory2.class(android/view:LayoutInflater$Factory2.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/LayoutInflater$Factory.class(android/view:LayoutInflater$Factory.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/Window$Callback.class(android/view:Window$Callback.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/KeyEvent$Callback.class(android/view:KeyEvent$Callback.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/os/Parcelable.class(android/os:Parcelable.class): major version 51 is newer than 50, the highest major version supported by this compiler.
      [javac] warning: android/view/InputEvent.class(android/view:InputEvent.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  (110.65s)

```

---

<div class="post-metadata">

**Author:** ![Baggers](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/baggers/32/665_2.png) [@Baggers](https://forums.fusetools.com/u/Baggers)\
**Post date:** [June 13, 2016, 5:06pm UTC](https://forums.fusetools.com/t/android-compiling-errors/1342/2 "2016-06-13T17:06:06Z")

</div>

We had a bit of a chat about this elsewhere. To recap we saw that fuse was using jdk1.6, but 1.8 was installed so we modifed the `.sdkConfig` file, however this has not solved the issue.

I’m going to open an issue for this so we can track in internally.

Thanks for posting kevin

---

<div class="post-metadata">

**Author:** ![Emil\_Sandsto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/emil_sandsto/32/523_2.png) [@Emil\_Sandsto](https://forums.fusetools.com/u/Emil_Sandsto)\
**Post date:** [June 15, 2016, 8:53am UTC](https://forums.fusetools.com/t/android-compiling-errors/1342/3 "2016-06-15T08:53:10Z")

</div>

Hi Kevin

A fix is schedule for next release, in the mean time please uninstall old JDK versions, and then run `fuse install android`.
