Closed scottleibrand closed 9 years ago
What version of Android studio are you using? On Dec 14, 2014 9:08 PM, "Scott Leibrand" notifications@github.com wrote:
Any idea how to get around this? Alternatively, any chance you could make the latest version available as an .apk in the Releases section of GitHub?
UnsupportedMethodException Failed to set up Android modules in project 'DexDrip': Unsupported method: BaseArtifact.getJavaCompileTaskName(). The version of Gradle you connect to does not support that method. To resolve the problem you can change/upgrade the target version of Gradle you connect to. Alternatively, you can ignore this exception and read other information from the model.
— Reply to this email directly or view it on GitHub https://github.com/StephenBlackWasAlreadyTaken/DexDrip/issues/7.
If using the new android studio 1 it shouuuld work. (android studio is kind of a pain) Also if you pulled it earlier than today you will probably want to do another pull
In the apps build.gradle, where the entire release section should be commented out (proguard stuff) until I get proguard stuff in there.
the whole file should look like this
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "20.0.0"
defaultConfig {
applicationId "com.eveningoutpost.dexdrip"
minSdkVersion 18
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
// release {
// runProguard false
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
// }
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.google.code.gson:gson:2.3'
compile 'com.squareup.retrofit:retrofit:1.7.1'
}
Weee, I was still on 0.8.9. Downloading 1 now.
:+1: Let me know how it goes, I have not run it from scratch in quite a while, sorry a lot of the ui is neglected (time pickers especially!)
also as android studio likes to 'help' and try to 'fix' things for you, you will probably want to git stash
and git pull
once you have android studio 1 downloaded. It probably made some less than helpful changes to your gradle files!
Oo also, on the scan for bt page, use the top scan button, the bottom one is a decoy! On Dec 14, 2014 9:46 PM, "Stephen Black" stephen@shopkeep.com wrote:
What version of Android studio are you using? On Dec 14, 2014 9:08 PM, "Scott Leibrand" notifications@github.com wrote:
Any idea how to get around this? Alternatively, any chance you could make the latest version available as an .apk in the Releases section of GitHub?
UnsupportedMethodException Failed to set up Android modules in project 'DexDrip': Unsupported method: BaseArtifact.getJavaCompileTaskName(). The version of Gradle you connect to does not support that method. To resolve the problem you can change/upgrade the target version of Gradle you connect to. Alternatively, you can ignore this exception and read other information from the model.
— Reply to this email directly or view it on GitHub https://github.com/StephenBlackWasAlreadyTaken/DexDrip/issues/7.
I got to the point of doing a scan, but it's not finding anything. Why is it scanning for BT in the first place? I'm using a Wixel, not BT.
Are you planning on plugging the wixel into the phone? The app usually uses bluetooth to get packets the wixel caught, the phone won't be able to see the wixel on its own. I'm not entirely sure of the setup you are going for setup wise (if its wixel to raspberry pi then you won't need the android app, just access to your db (is it hosted on the pi?) On Dec 14, 2014 11:18 PM, "Scott Leibrand" notifications@github.com wrote:
I got to the point of doing a scan, but it's not finding anything. Why is it scanning for BT in the first place? I'm using a Wixel, not BT.
— Reply to this email directly or view it on GitHub https://github.com/StephenBlackWasAlreadyTaken/DexDrip/issues/7#issuecomment-66948264 .
After updating Android Studio/etc, the originally reported issue was resolved for me.
Where can I find the version 1 of android stdudio ? I'm on 0.8.6 and it tells me that it's the latest.
Should be here http://developer.android.com/sdk/index.html On Jan 5, 2015 3:32 AM, "trallallero" notifications@github.com wrote:
Where can I find the version 1 of android stdudio ? I'm on 0.8.6 and it tells me that it's the latest.
— Reply to this email directly or view it on GitHub https://github.com/StephenBlackWasAlreadyTaken/DexDrip/issues/7#issuecomment-68679944 .
Thanks but the question was more like "where did you find the version 1 from the studio update panel". I mean, why is it not updatable from the studio it self ? Anyway, android studio is a PITA on windows, I just use it in the free time at work. At home it's on Ubuntu 14.04 and no problems at all.
It's a different build of Android studio (you have the latest of that build, the beta I believe) the same happens if you are on the canary builds. So unfortunately to get the release build its a new installation On Jan 5, 2015 6:32 AM, "trallallero" notifications@github.com wrote:
Thanks but the question was more like "where did you find the version 1 from the studio update panel". I mean, why is it not updatable from the studio it self ? Anyway, android studio is a PITA on windows, I just use it in the free time at work. At home it's on Ubuntu 14.04 and no problems at all.
— Reply to this email directly or view it on GitHub https://github.com/StephenBlackWasAlreadyTaken/DexDrip/issues/7#issuecomment-68696947 .
Ok, thanks a lot for the info
No problem! Sorry it's a pain! On Jan 5, 2015 7:11 AM, "trallallero" notifications@github.com wrote:
Ok, thanks a lot for the info
— Reply to this email directly or view it on GitHub https://github.com/StephenBlackWasAlreadyTaken/DexDrip/issues/7#issuecomment-68700259 .
Not your fault (windows is a pain, especially 8) and I must say that android studio is imho the best editor that exists. It has the best "column mode" ever! Ok, OT, sorry. Ciao.
Check this video this helped me solving this error
Any idea how to get around this? Alternatively, any chance you could make the latest version available as an .apk in the Releases section of GitHub?
UnsupportedMethodException Failed to set up Android modules in project 'DexDrip': Unsupported method: BaseArtifact.getJavaCompileTaskName(). The version of Gradle you connect to does not support that method. To resolve the problem you can change/upgrade the target version of Gradle you connect to. Alternatively, you can ignore this exception and read other information from the model.