This is a Bike Station Android App that uses the BikeApi [https://www.poznan.pl/] to search available bikes and find location where available bikes.
First, clone the repo:
git clone https://github.com/MalanDev/Bike-Station.git
Building the app then depends on your build tools.
(These instructions were tested with Android Studio version Arctic Fox | 2020.3.1 3.1-7.0 Bumblebee | 2021.1.1 3.2-7.1 Chipmunk | 2021.2.1 3.2-7.2)
- Open Android Studio and select
File->Open...or from the Android Launcher selectImport project (Eclipse ADT, Gradle, etc.)and navigate to the root directory of your project. - Open local.properties and add your MAPS_API_KEY = Aiz.....
- Select the directory or drill in and select the file
build.gradlein the cloned repo. - Click 'OK' to open the the project in Android Studio.
- A Gradle sync should start, but you can force a sync and build the 'app' module as needed.
- Build the APK:
./gradlew build
Connect an Android device to your development machine.
- Select
Run -> Run 'app'(orDebug 'app') from the menu bar - Select the device you wish to run the app on and click 'OK'
- Install the debug APK on your device
./gradlew installDebug