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

android studio 3 #7

Open
marcinsliwakalisz opened this issue Jan 19, 2018 · 6 comments
Open

android studio 3 #7

marcinsliwakalisz opened this issue Jan 19, 2018 · 6 comments

Comments

@marcinsliwakalisz
Copy link

Hello is it possible to use your sdk in android studio 3?

Im getting this error:

Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.

java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

after adding

compile 'com.sumup:merchant-api:1.3.1'

When i add

compile('com.sumup:merchant-sdk:2.5.0@aar') {
transitive = true
}
im getting this error:
Error:Execution failed for task ':app:javaPreCompileDebug'.

Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration.
- argument-1.0.4.jar (com.neenbedankt.bundles:argument:1.0.4)
Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future.
See https://developer.android.com/r/tools/annotation-processor-error-message.html for more details.

@vfoixcable
Copy link
Contributor

Not yet, because preparing the code base for AS3 was leading to breaking changes if one isn't setting compileSDK and targetSDK >= than 23.
Therefore, to deliver it properly, support for AS3 will come along SDK 3.0.0. We plan to release this SDK as part of Q1.

@marcinsliwakalisz
Copy link
Author

Hello, when exactly?

@vfoixcable
Copy link
Contributor

We don't communicate a precise timeline, because we don't want to commit to a deadline we are not sure to hold.

As of "Q1", before end of March. If everything goes smooth, it could already be here in February.

@marcinsliwakalisz
Copy link
Author

Ok thanks, i have moved back to AS 2.3.3 for now and ill wait for SDK 3.0.0.
We will also need some online payments via our website. Do you have any code sample showing how to do that using sumup?

@jahenry
Copy link

jahenry commented Jan 22, 2018

Ok good stuff. I will contact you directly via email.

@vfoixcable
Copy link
Contributor

RE compilation issue:
as a quickfix, it seems that adding the following to the dependencies is fixing the it:

annotationProcessor "com.neenbedankt.bundles:argument:1.0.4"

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

3 participants