jmpessoa / lazandroidmodulewizard

LAMW: Lazarus Android Module Wizard: Form Designer and Components development model!
246 stars 82 forks source link

Some demos can be compiled but not built (Ant) #488

Open Codereamp opened 1 year ago

Codereamp commented 1 year ago

LAMW 0.8.6, jdk 1.8.0.101, NDK 19.2.5345600

Some of the demo projects can be compiled successfully, but trying to Build and Run end up with a similar error. The following error is common for AppHorizontalScrollViewDemo1, AppContactManagerDemo1, probably others

Here the message is for AppHorizontalScrollViewDemo1, but for other projects the message is similar, just subpathes should be changed to the corresponding one

Panic: [javac] _{ root of Lamw components }_ \demos\GUI\AppHorizontalScrollViewDemo1\src\com\example\ apphorizontalscrollviewdemo1\android-30\jImageView.java:1032: error: local variable _cornersRadius is accessed from within inner class; needs to be declared final

Codereamp commented 1 year ago

Added pull request https://github.com/Codereamp/lazandroidmodulewizard/pull/1

Codereamp commented 1 year ago

The proposed request fixes the file ...\android_wizard\smartdesigner\java\jImageView.java and both mentioned projects (AppHorizontalScrollViewDemo1, AppContactManagerDemo1) is built and run successfully after.