#raukuma
1 messages · Page 1 of 1 (latest)
Can you run ./gradlew clean in your android project and rebuild it?
let me try
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
FAILURE: Build failed with an exception.
-
Where:
Build file '/Users/raushankumar/Documents/Stripe_Integration/stripe-sample-code/build.gradle' line: 2 -
What went wrong:
Plugin [id: 'com.android.application'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (plugin dependency must include a version number for this source)
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
- Get more help at https://help.gradle.org
Did you make any changes to the example code?
except jvm setting from java11 to java8 I did nothing ,I tried several combination of frontend backend from stripe doc but it's not working
Hmm, it doesn't look like your Android project is in a right structure.
I'd feed back this to the relevant team. In the meanwhile, you can check out another example code repo at https://github.com/stripe/stripe-terminal-android/tree/master/Example
let me clone it and will share feedback here
in readme there is one instruction
Build and run the app. The app includes a reader simulator, so you have no need for a physical reader to start your integration. Note that while the example app will work in an Android emulator, you will only be able to connect to a simulated reader due to lack of Bluetooth capabilities.
so I can't test my device
is that my understanding is correct.
Are you using an Android emulator or an actual device?
I want to use use actual device
but in README I found this so suspecting physical device will not work for testing is it correct or I missunderstood.
Can you share with me the URL to the readme page so I can have the full context?
Stripe Terminal Android
For information on migrating from earlier versions of the Android SDK, see the migration guide.
Requirements
The Stripe Terminal Android SDK is compatible with apps supporting Android API level 21* and above. Apps can be written using Kotlin or Java 8.
* Note that attempting to override minSdkVersion to decrease the minimum supported API level will not work due to internal runtime API level validation.
Try the example app
The Stripe Terminal Android SDK includes two open-source example apps (one in Java and the other in Kotlin), which you can use to familiarize yourself with the SDK before starting your own integration. To build the example app:
- Clone this repo.
- Import the
Exampleproject into Android Studio. - Navigate to our example backend and deploy it following the instructions in the README.
- In
gradle.properties, set the URL of the backend you just deployed. - Build and run the app. The app includes a reader simulator, so you have no need for a physical reader to start your integration. Note that while the example app will work in an Android emulator, you will only be able to connect to a simulated reader due to lack of Bluetooth capabilities.
Installation
point number 5.