|-- gen
|-- gradle
| `-- wrapper
|-- libraries
| `-- CardmeAndroid
| |-- build
| | |-- bundles
| | | |-- debug
| | | | |-- assets
| | | | `-- res
| | | `-- release
| | | |-- assets
| | | `-- res
| | |-- classes
| | | |-- debug
| | | | `-- net
| | | | `-- sourceforge
| | | | `-- cardme
| | | `-- release
| | | `-- net
| | | `-- sourceforge
| | | `-- cardme
| | |-- dependency-cache
| | | |-- debug
| | | `-- release
| | |-- incremental
| | | |-- aidl
| | | | |-- debug
| | | | `-- release
| | | |-- mergeAssets
| | | | |-- debug
| | | | `-- release
| | | |-- mergeResources
| | | | |-- debug
| | | | `-- release
| | | `-- packageResources
| | | |-- debug
| | | `-- release
| | |-- libs
| | |-- lint
| | |-- res
| | | |-- all
| | | | |-- debug
| | | | `-- release
| | | `-- rs
| | | |-- debug
| | | `-- release
| | |-- source
| | | |-- aidl
| | | | |-- debug
| | | | `-- release
| | | |-- buildConfig
| | | | |-- debug
| | | | | `-- net
| | | | | `-- sourceforge
| | | | | `-- cardme
| | | | `-- release
| | | | `-- net
| | | | `-- sourceforge
| | | | `-- cardme
| | | |-- r
| | | | |-- debug
| | | | `-- release
| | | `-- rs
| | | |-- debug
| | | `-- release
| | `-- tmp
| | |-- packageDebugJar
| | `-- packageReleaseJar
| |-- libs
| `-- src
| `-- main
| `-- src
| `-- net
| `-- sourceforge
| `-- cardme
| |-- db
| |-- engine
| |-- io
| |-- util
| `-- vcard
| |-- errors
| |-- features
| `-- types
| |-- media
| `-- parameters
`-- NFCLottery
|-- build
| |-- assets
| | `-- debug
| |-- classes
| | `-- debug
| |-- dependency-cache
| | `-- debug
| |-- exploded-bundles
| | `-- NFCLotteryProjectLibrariesCardmeAndroidUnspecified.aar
| | |-- assets
| | `-- res
| |-- incremental
| | |-- aidl
| | | `-- debug
| | |-- mergeAssets
| | | `-- debug
| | `-- mergeResources
| | `-- debug
| |-- libs
| |-- manifests
| | `-- debug
| |-- res
| | |-- all
| | | `-- debug
| | | |-- drawable
| | | |-- drawable-hdpi
| | | |-- drawable-ldpi
| | | |-- drawable-mdpi
| | | |-- drawable-xhdpi
| | | |-- drawable-xxhdpi
| | | |-- layout
| | | |-- layout-land
| | | |-- menu
| | | |-- raw
| | | |-- values
| | | |-- values-v11
| | | `-- values-v14
| | `-- rs
| | `-- debug
| |-- source
| | |-- aidl
| | | `-- debug
| | |-- buildConfig
| | | `-- debug
| | | `-- it
| | | `-- imwatch
| | | `-- nfclottery
| | |-- r
| | | `-- debug
| | | `-- it
| | | `-- imwatch
| | | `-- nfclottery
| | `-- rs
| | `-- debug
| `-- symbols
| `-- debug
|-- libs
`-- src
`-- main
|-- java
| `-- com
| `-- test
| `-- nfclottery
| |-- data
| | `-- provider
| | `-- util
| `-- dialogs
`-- res
|-- drawable
|-- drawable-hdpi
|-- drawable-ldpi
|-- drawable-mdpi
|-- drawable-xhdpi
|-- drawable-xxhdpi
|-- layout
|-- layout-land
|-- menu
|-- raw
|-- values
|-- values-v11
`-- values-v14
168 directories
Hello, I've got a project I'm trying to port from the old build system (and IntelliJ IDEA) to Gradle (and Android Studio). I've managed to port most of the stuff, and everything works up until the point where I build the project.
-- When I build the project I get this error message:
Information:5 errors
Information:Compilation completed with 6 errors and 0 warnings in 5 sec
Information:6 errors
Information:0 warnings
Error:Gradle: Execution failed for task ':NFCLottery:compileDebug'.
> Compilation failed; see the compiler error output for details.
/media/sources/pub/NFCLotteryProject/NFCLottery/src/main/java/.../nfclottery/MainActivity.java
Error:Error:line (38)Gradle: package net.sourceforge.cardme.engine does not exist
Error:Error:line (39)Gradle: package net.sourceforge.cardme.vcard does not exist
Error:Error:line (52)Gradle: cannot find symbol class VCardEngine
Error:Error:line (242)Gradle: cannot find symbol class VCardEngine
Error:Error:line (264)Gradle: cannot find symbol class VCard
The problem is that the dependency is setup seemingly fine, as Android Studio gets it and allows to navigate to definitions etc.
Attached you can find the project directory tree and the various build.gradle files.
Thanks for your help! This is going to be open-sourced once it builds :D
Sebastiano
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment