Skip to content

No original dex files found for dex location /system/framework/mms-common.jar #3

Open

Description

@fly2012

image

With the code.

findViewById(R.id.test).setOnClickListener(new View.OnClickListener() {
@OverRide
public void onClick(View v) {
executeLua("using "java.lang"\n" +
"--for method call test\n" +
"local abs=Math.abs\n" +
"local t=os.clock()\n" +
"for i=1,2.5e6 do\n" +
" abs(0)\n" +
"end\n" +
"print(os.clock()-t)\n" +
"\n" +
"--for member access test\n" +
"t=os.clock()\n" +
"for i=1,1.8e6 do\n" +
" Math.abs(0)\n" +
"end\n" +
"print(os.clock()-t)");
}
});
}
private void executeLua(String str){
ScriptContext context = new ScriptContext();
context.addToLua("context", this);
context.run(str);
}

Activity

  1. qtiuto commented on Dec 29, 2018

    @qtiuto
    Owner
  2. qtiuto commented on Dec 29, 2018

    @qtiuto
    Owner

    Version 1.3.1 has been publish to fix the using bugs for older android versions. @fly2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions