#BlueFruit_Connect_Android custom project

1 messages · Page 1 of 1 (latest)

elder sandal
#

Hello Everyone, I am working on a project that is utilizing the Bluefruit_LE_Connect_Android app and have cloned the Android github file onto my local machine. I am attempting to create a custom apk from the github file to work in conjunction with a project I have been tasked with. My initial thought process was to clone the repo, launch it in vscode and compile it to get an understanding of how the program compiles. I then want to make custom changes to the file to start developing my custom apk. I am however running into a little issues compiling the project. Is VSCode the right path, or should I use another compiler? Would it be easy to use another app rather than edit an existing? I am new to this so forgive me for the lack of knowledge and/or incorrect terminology. Basically, I am looking for any assistance or nudge in the right direction that would help me get the apk compiled.

elder sandal
#

Update on my current status, I was able to locate what I believe to be the main file to build the apk. It is labeled BluefruitApplication.java and I am using javac BluefruitApplication.java in an attempt to build the file and then move forward. However, i am running into a bit of an issue and forgive me if it is a simple solution, I am unaware on how to address it. The error I receive is ```BluefruitApplication.java:3: error: package android.app does not exist
import android.app.Application;
^
BluefruitApplication.java:6: error: cannot find symbol
public class BluefruitApplication extends Application {
^
symbol: class Application
BluefruitApplication.java:15: error: method does not override or implement a method from a supertype
@Override
^
BluefruitApplication.java:17: error: cannot find symbol
super.onCreate();
^
symbol: variable super
location: class BluefruitApplication
4 errors

#

I am not sure how to address this as I have been attempting to find the answer online but have been unsuccessful in my attempts.

elder sandal
#

Second update, have gotten the project to build and compile using Android studio