Android Question B4A compile error

IndieDev

Active Member
Licensed User
Longtime User
Hi,

Trying to compile the old CCTV app using the latest B4A.

Getting this error.... Kindly help.
 

Peter Simpson

Expert
Licensed User
Longtime User
Upvote 0

IndieDev

Active Member
Licensed User
Longtime User
Ok. Sorted it out.
Had to change in manifest

<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="28"/>

Though it still displays

Installing file to device. Error
The system cannot find the file specified

The apk file is created and I manually copy/paste on my phone.

Please update if I need to make any additional settings.

Thanks.
 
Upvote 0

IndieDev

Active Member
Licensed User
Longtime User
Oh! ADB issue? ADB was missing in the "E:\Android\platforms\android-28" folder (Is it where its supposed to be?)

Am updating the SDK right now.

Will revert after checking.

 
Upvote 0

IndieDev

Active Member
Licensed User
Longtime User
Found adb.exe in the "E:\Android\platform-tools" folder.

Issue still persists.

Once updation is over will check and revert.

Thanks, Peter.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Are you able to compile other projects?

You don't need to search for adb. Everything needed is included when you download the packages from the installation instructions.
 
Upvote 0

IndieDev

Active Member
Licensed User
Longtime User

Hi Erel,

I had followed the instructions for the packages, but was still getting the error.

After updating the SDK, it compiled and copied the apk file.


Thanks Peter and Erel. ?
 
Upvote 0

IndieDev

Active Member
Licensed User
Longtime User
Just a curious question.

Don't you guys sleep??!

Both of you replied back so fast!!!

Thanks a lot for your help
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…