Android Question javac: invalid flag: -Xmaxerrs

Bwana

Member
Licensed User
Longtime User
I am trying compile my "Hello World" !

I geting: "javac: invalid flag: -Xmaxerrs"

How to solve ?

/Bertil
 

Bwana

Member
Licensed User
Longtime User
I am trying compile my "Hello World" !

I geting: "javac: invalid flag: -Xmaxerrs"

How to solve ?

/Bertil


Here i is:
-----------------------------------------------------
Parsing code. 0.00
Compiling code. 0.05
Compiling layouts code. 0.00
Generating R file. 0.26
Compiling generated Java code. Error
javac: invalid flag: -Xmaxerrs
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-O Optimize; may hinder debugging or enlarge class file
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-target <release> Generate class files for specific VM version


The following objects added permissions (duplicates are ignored):
DEBUGGER:
android.permission.INTERNET
android.permission.BLUETOOTH
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.BLUETOOTH_ADMIN
-----------------------------------------------------

/Bertil
 
Upvote 0

Bwana

Member
Licensed User
Longtime User
I just find out:
I had an old javac, when used the corret one, it compile ok.

Then I got this when I tried "Remote compile mode:
Sending data to remote compiler. Error
Communication error: NameResolutionFailure
Is that network error or what. :(

/Bertil
 
Upvote 0
Top