Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Erros while trying to update to version 3.65.6

More
IP: 186.207.84.170 4 years 9 months ago #15659 by devit9ar
After I downloaded the new version with the checkbox fix (3.65.6), I can't compile my project.
A lot of 'local variable [variable] is accessed from within inner class; needs to be declared final' started to pop up. If I try to change the variable to `final`, more errors with
the same message in other classes appear, and so forth.
Can you guys check if this version is ok? Comparing to my current local version, those properties and variables are declared final in my currento ViewLib.

 
More
IP: 111.196.244.137 4 years 9 months ago - 4 years 9 months ago #15660 by radaee
dear user:
this issue shall relate to java version.
compiling on our side are all OK.
if you are still facing this issue, please declare tPath/vGrid/vRecent/vFiles as class member of PDFMainAct class.
example:
Code:
private RDGridView m_vGrid; private TextView m_tPath; private void initNavigate() { m_vGrid = m_lay_navigate.findViewById(R.id.vw_grid); m_tPath = m_lay_navigate.findViewById(R.id.txt_path); [code]...
[/code]

 
Last edit: 4 years 9 months ago by radaee.
More
IP: 186.207.84.170 4 years 9 months ago #15661 by devit9ar
I think that if I make that correction, more erros will appear. If I use the same version as yours, I think it'll be easier.
What Java version are you guys using to compile?
More
IP: 111.196.244.137 4 years 9 months ago #15662 by radaee
dear user:
we using java that Android Studio auto download
it is openjdk 11.0.10
details as below:
Code:
D:\Tools\dev\Android\Studio\jre\bin>java -version openjdk version "11.0.10" 2021-01-19 OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189) OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7249189, mixed mode)
More
IP: 186.207.84.170 4 years 9 months ago #15663 by devit9ar
I see...
That's odd. I'm using the same version, but I'm using the oracle jdk.
I'ts been a while the last time we updated our project with Radaee. Everytime you guys released a patch, I just had to put
the license info in the global.java file and the project was ready to go.
 
More
IP: 186.207.84.170 4 years 9 months ago #15664 by devit9ar
I actually tried to use the same Java version as yours(mine was oracle jdk 8), just out of curiosity. It didn't work.
The compiler still complains a lot about those inner classes access.
There's a printscreen of the same code in an older version. It used to be different.
There's a lot of breaking changes.
I need some support on that. We need to publish the apk with the checkbox correction.
And I tried the 3.65.7. Same result.
Time to create page: 0.433 seconds
Powered by Kunena Forum