It is correct, this way i won’t be gettin invalid flag error. But the original bootclasspath which is generated & attached by android-gradle plugin is still there. I need a way to remove the default bootClasspath parameter and use my own. Any ideas?
Just remove the “/a” i.e. “-Xbootclasspath:/home/test/custom-android.jar”. If you run “java -X” it will show you the various options for configuring the bootclasspath.