I had the same problem with R.java not being generated. I added some error output to the package command being run, and saw it was basically because the config was trying to use options that weren't available in the default API level in the player s…