我的代码看起来像这样:
public class Hashtabledemo2 {
public static void main(String[] args) {
Hashtable myCompay = new Hashtable(10);
System.out.println("Add some employee objects to the hashtable..");
Salary e1 = new Salary("Salary1", "Palo Alto, CA",
1, 100000.00);
Hourly e2 = new Hourly("Hourly2", "Cupertino, CA", 2, 100.00);
Contractor e3 = new Contractor("Contractor3", "Milpitas, CA",3, 1000.00);
myCompay.put(new Integer(e1.hashCode()), e1);
myCompay.put(new Integer(e2.hashCode()), e2);
myCompay.put(new Integer(e3.hashCode()), e2);
System.out.println("The size of the hashtable is "+myCompay.size());
int size = myCompay.size();
for(int i=1;i<=size;i++){
/* Note that the get() method of the …Run Code Online (Sandbox Code Playgroud) 您好,在尝试构建我在android studio中导入的项目时出现此错误
无法在ProductFlavor_Decorated {name = main,minSdkVersion = ApiVersionImpl {mApiLevel = 14,mCodename ='null'},targetSdkVersion = ApiVersionImpl {mApiLevel = 19,mCodename ='null'},renderscriptTargetApi找到参数[false]的方法renderscriptSupportMode() = 19,renderscriptSupportModeEnabled = null,renderscriptNdkModeEnabled = null,versionCode = null,versionName = null,applicationId = com.jams.music.player,testApplicationId = null,testInstrumentationRunner = null,testHandleProfiling = null,testFunctionalTest = null,signingConfig = null,resConfig = null,mBuildConfigFields = {},mResValues = {},mProguardFiles = [],mConsumerProguardFiles = [],mManifestPlaceholders = {}}.
如何解决这个错误请任何人