android studio使用http网络类时找不到包

展开阅读全文

Android studio 不到符号

04-09

[img=https://img-bbs.csdn.net/upload/201604/09/1460185636_11817.png][/img]rnrn这个项目是从eclipse 导入as的,感觉是build.gradle写的有问题,因为这个项目能在eclipse编译成功的,有没有对这方面比较懂的。项目的的build.gradle:rnrnrnapply plugin: 'com.android.application'rnrnandroid rn compileSdkVersion 21rn buildToolsVersion "23.0.0 rc2"rnrn defaultConfig rn applicationId "com.newsee.zao2o"rn minSdkVersion 10rn targetSdkVersion 21rn aaptOptions.cruncherEnabled = falsern compileOptions rn sourceCompatibility JavaVersion.VERSION_1_7rn targetCompatibility JavaVersion.VERSION_1_7rn rn rnrn buildTypes rn release rn minifyEnabled falsern proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'rn rn rnrnrndependencies rn compile project(':bbf_owner_push_lib')rn compile 'com.android.support:support-v4:21.1.0'rn compile 'com.google.code.gson:gson:2.2.4'rn compile files('libs/alipaysdk.jar')rn compile files('libs/alipaysecsdk.jar')rn compile files('libs/alipayutdid.jar')rn compile files('libs/BaiduLBS_Android.jar')rn compile files('libs/core-3.1.0.jar')rn compile files('libs/fastjson-1.2.4.jar')rn compile files('libs/GetuiExt-2.0.3.jar')rn compile files('libs/GetuiSdk2.4.1.0.jar')rn compile files('libs/httpmime-4.1.3.jar')rn compile files('libs/libammsdk.jar')rn compile files('libs/nineoldandroids-2.4.0.jar')rn compile files('libs/photoshowview-library.jar')rn compile files('libs/pinyin4j-2.5.0.jar')rn compile files('libs/universal-image-loader-1.9.2.jar')rn compile files('libs/xUtils-2.6.14.jar')rn compile 'com.android.support:appcompat-v7:22.2.0'rnrnrnrn 论坛

没有更多推荐了,返回首页