Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file with some artifact sources #6

Open
danielesegato opened this issue Apr 15, 2015 · 1 comment
Open

No such file with some artifact sources #6

danielesegato opened this issue Apr 15, 2015 · 1 comment

Comments

@danielesegato
Copy link

This is possibly a bug

try with this dependencies:

// Amazon AWS
compile 'com.amazonaws:aws-android-sdk-core:2.1.10'
compile 'com.amazonaws:aws-android-sdk-cognito:2.1.10'
aarLinkSources 'com.amazonaws:aws-android-sdk-core:2.1.10:sources'
aarLinkSources 'com.amazonaws:aws-android-sdk-cognito:2.1.10:sources'
//  DynamoDB
compile 'com.amazonaws:aws-android-sdk-ddb:2.1.10'
compile 'com.amazonaws:aws-android-sdk-ddb-mapper:2.1.10'
aarLinkSources 'com.amazonaws:aws-android-sdk-ddb:2.1.10:sources'
aarLinkSources 'com.amazonaws:aws-android-sdk-ddb-mapper:2.1.10:sources'

[AARLinkSources] [Info] Link sources: aws-android-sdk-core-2.1.10.jar
[AARLinkSources] [Error] No such file: /home/user/project.idea/libraries/aws_android_sdk_core.xml
[AARLinkSources] [Info] Link sources: aws-android-sdk-ddb-2.1.10.jar
[AARLinkSources] [Error] No such file: /home/user/project/.idea/libraries/aws_android_sdk_ddb.xml

then when I try too open an AWS class I see no sources, example:
com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient

the file
/home/user/project.idea/libraries/aws_android_sdk_core.xml
does not exist, indeed

but the file:
/home/user/project.idea/libraries/aws_android_sdk_core_2_1_10.xml
exist.

this is possibly a bug

@aluxian
Copy link

aluxian commented May 3, 2015

@danielesegato Don't you need to add @jar after :sources too? Like this:

aarLinkSources 'com.amazonaws:aws-android-sdk-core:2.1.10:sources@jar'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants