The Veracode Greenlight for Android Studio plugin requires compilable Java files that successfully built into Java class files. If you are unable to scan with Greenlight for Android Studio, ensure you have a Java class file built for the Java file you want to scan.
To perform this task, you must have the Greenlight IDE User role.
Before you scan, Veracode recommends that you select Build Automatically for your project in the Project menu, and you have resolved any blocking build errors. A scan times out after one minute if there are any issues.
To start a Veracode Greenlight scan:
Open the project and select the file you want to scan.
Note: You cannot scan at the source (src) level in the Project view. You can only scan below the source level. To scan package files, you must be in the Project or Android explorer view.
.Alternatively, you can click the green V icon in the menu bar or use the shortkey Ctrl+Shift+G.