Unable to import the ble-scanner project in recent Android Studio version... #5
marcuslupinus
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am new to Android development but experienced in software in general. I want to write a simple BLE Android App to exchange some data with an Arduino device and I wanted to study how this apps works in order to build my own. But after I cloned the project files locally and I try to build the project, Android studio tells me that graddle needs to be updated (to v8.5 or 8.9) but the build fails with this error and I don't know how to solve it :
«Caused by: java.io.FileNotFoundException: E:\offload_marc\Documents\GitHub\Kotlin_Projects\ble-scanner\app.properties (the file cannot be found)».
When I look at the «ble-scanner/app/src/build.gradle» file, the «Properties» class in the following line of code is not found either:
31 def appPropertiesFile = rootProject.file("app.properties")
32 def appProperties = new Properties()
33 appProperties.load(new FileInputStream(appPropertiesFile))
Can somebody help me make a successful build of this project please. It would be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions