Thanks Alex: Sure steps to reproduce are no different then setting up
any project:
- Create a new Android Studio Project
- Add a Maven URL to the root level build.gradle
```
allprojects {
repositories {
jcenter()
maven{
url 'http://[internal-artifactory-repo-url]'
}
}
}
```
- Bring in the compile dependency to the app module
```
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.2.0'
compile '[group-id]:[group-name]:[version]'
}
```
This happens whether the dependency comes from internal artifactory
repository or external maven repository. It is also random, the
dependency will work on some projects but not others.
cheers
-- dan
'Alex Ruiz' via adt-dev <mailto:[email protected]>
August 14, 2015 at 1:46 PMvia Postbox
<https://www.postbox-inc.com/?utm_source=email&utm_medium=sumlink&utm_campaign=reach>
Hi Dan,
Can you please provide steps to reproduce? (e.g. library coming from
Maven, etc.)
Thanks!
-Alex
--
You received this message because you are subscribed to the Google
Groups "adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
Dan O'Neill <mailto:[email protected]>
August 14, 2015 at 1:45 PMvia Postbox
<https://www.postbox-inc.com/?utm_source=email&utm_medium=sumlink&utm_campaign=reach>
AAR dependency loads from maven repository but the classes are all red
and none of the imports come in. This is happening with 1.3 & 1.4,
currently on 1.4 Preview 2. The app sync's project with gradle,
builds, and runs successfully, but the development environment does
not allow for code completion or recognition of any of the classes
coming from the AAR. I have tried to Invalidate Caches and Restart
which does not improve anything. This does not happen with all
projects where I use this dependency, only some so I am hoping there
is something I am overlooking. Also, this same project has gone back
and forth between having this issue and not having this issues, it
only recently has persisted to the point where it is terribly
frustrating to work with. Any insight is appreciated.
--
You received this message because you are subscribed to the Google
Groups "adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"adt-dev" 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/d/optout.