Condividi tramite


.NET for Android error JAVAC0000

Messaggi di esempio

error JAVAC0000: Foo.java(1,8): javac error: class, interface, or enum expected
error JAVAC0000: Foo.java(1,41): javac error: ';' expected

Problema

During a normal .NET for Android build, Java source code is generated and compiled. This message indicates that javac, the Java programming language compiler, failed to compile Java source code.

Soluzione

If you have Java source code in your project with a build action of AndroidJavaSource, verify your Java syntax is correct.

Prendere in considerazione l'invio di un bug se si riceve questo errore in circostanze normali.