bob wrote:
> You say "lib" in one place and "libs" in another. Make sure you pick one
> name and use it everywhere.
>
Where? I only see "libs" in the script.
Surely you aren't referring to his informal language outside the script?
That would be unhelpful.
> Daniel Rindt wrote:
>>
>> my android [sic] lib makes use of some other libs which reside in /libs
>> as usual in android projects. My gradle file looks like this:
>>
>> buildscript {
>> repositories {
>> mavenCentral()
>> }
>> dependencies {
>> classpath 'com.android.tools.build:gradle:0.2'
>> }
>> }
>> apply plugin: 'android-library'
>> dependencies {
>> compile fileTree(dir: 'libs', include: '*.jar')
>> }
>> android {
>> allprojects {
>> sourceCompatibility = 1.6
>> targetCompatibility = 1.6
>> }
>> defaultConfig {
>> minSdkVersion = 8
>>
>> signingStoreLocation = "$androidSigningStoreLocation"
>> signingStorePassword = "$androidSigningStorePassword"
>> signingKeyAlias = "$androidSigningKeyAlias"
>> signingKeyPassword = "$androidSigningKeyPassword"
>> }
>> target = 'android-17'
>> sourceSets {
>> main {
>> manifest {
>> srcFile "AndroidManifest.xml"
>> }
>> java {
>> srcDir "src"
>> exclude "test/**"
>> }
>> res {
>> srcDir "res"
>> }
>> }
>> }
>> }
>>
>> The build says "successful" when i [sic] deploy the apk the first run
>> raises java.lang.NoClassDefFoundError: com.omniture.AppMeasurement. Thats
>> one class in the mentioned jar files in the lib folder.
>>
>>
--
Lew
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.