Android Question Notifications Builder class (2018) example problem in release mode.

davemorris

Active Member
Licensed User
Longtime User
Hi, guys

Just tried to using NB6 - Notifications Builder class (2018) example and have a problems.

In debug it is ok, but when a try to compile a release version, I get the following error
B4A Version: 8.30
Parsing code. (0.01s)
Compiling code. (0.11s)
Compiling layouts code. (0.01s)
Organizing libraries. (0.97s)
Generating R file. (0.21s)
Compiling generated Java code. (1.60s)
Convert byte code - optimized dex. (6.40s)
Packaging files. Error
AAPT path: C:\Android\tools\..\build-tools\23.0.3\aapt.exe
Exit code:-1073741819

I am using B4A V8.30 and the code is unmodified.
Can anybody help?

Dave
 

Francisco Picado

Member
Licensed User
Longtime User
Hi, Dave,

did you try to update with the SDK Manager all the Components that are Mark as Needed?, i am working with Android-26 APIs and Work Fine. Hope you find a Solution.
 
Upvote 0

davemorris

Active Member
Licensed User
Longtime User
Hi, Franciso
Ths SDK manager is up to date - however I found the problem.

In the installation instructions for configuring the IDE Paths Configuration it says.

"set the path to "android.jar" (C:\Android\platforms\android-27\android.jar)"

Mine was "android-26", changed this to "android-27" and it works great. Also, for me, the B4A v8.3 had become flaky (i.e. sometimes not compiling correctly and unable to run code in debug - second attempt to compile it was ok) and that problem appears fixed.

Hope it helps someone.

Dave Morris
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…