DexFile.IsDexOptNeeded(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if the VM believes that the apk/jar file is out of date and should be passed through "dexopt" again.
[Android.Runtime.Register("isDexOptNeeded", "(Ljava/lang/String;)Z", "")]
public static bool IsDexOptNeeded (string? fileName);
[<Android.Runtime.Register("isDexOptNeeded", "(Ljava/lang/String;)Z", "")>]
static member IsDexOptNeeded : string -> bool
Parameters
- fileName
- String
the absolute path to the apk/jar file to examine.
Returns
- Attributes
Exceptions
if fileName is not readable, not a file, or not present.
if fileName is not a valid apk/jar file or if problems occur while parsing it.
if fileName is null.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.