#raukuma

1 messages · Page 1 of 1 (latest)

alpine yewBOT
lucid crow
sweet lake
#

Can you run ./gradlew clean in your android project and rebuild it?

lucid crow
#

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.

sweet lake
#

Did you make any changes to the example code?

lucid crow
#

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

sweet lake
#

Hmm, it doesn't look like your Android project is in a right structure.

lucid crow
#

let me clone it and will share feedback here

lucid crow
#

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.

sweet lake
#

Are you using an Android emulator or an actual device?

lucid crow
#

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.

sweet lake
#

Can you share with me the URL to the readme page so I can have the full context?

lucid crow
#

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:

  1. Clone this repo.
  2. Import the Example project into Android Studio.
  3. Navigate to our example backend and deploy it following the instructions in the README.
  4. In gradle.properties, set the URL of the backend you just deployed.
  5. 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

GitHub

A simple, easy-to-deploy backend that you can use to run the Stripe Terminal example apps - GitHub - stripe/example-terminal-backend: A simple, easy-to-deploy backend that you can use to run the St...

#

point number 5.

sweet lake
#

OK it means that if you can only use Simulated reader if you run the app in an Android emulator.

#

Since you are running in an actual device, you can use both Simulated reader or an actual reader