Android IDE (AIDE) Support Forum

Layout viewer problem

Hello folks. Switched my aging Huawei Mediapad M3 for a Samsung Tab Active 3 running android 11. Worked very well, AIDE had no problem (besides keystore generator, which I already asked for help on another posting), even after copying a whole ton of files from previous device. But now, when I try to open the layout viewer, it shows an error “attempt to invoke interface method java.util.java collection.util.map.values() on a null object reference”. The app compiles with no problem, and I can edit the xml layout file also. Haven’t tested before since I switched devices, but worked fine on the Huawei (running android 7).

And today I learned the whole problem is with the AIDE app itself, which can’t handle @ tags on layouts when running AIDE on Android 11. The simpler ones I have are ok, and show the layout properly. The ones with @ are dead.