intellij-java2smali
intellij-java2smali copied to clipboard
A plugin for IntelliJ IDEA & Android Studio to easily compile Java & Kotlin files to smali.
java.lang.Throwable: Write-unsafe context! Model changes are allowed from write-safe contexts only. Please ensure you're using invokeLater/invokeAndWait with a correct modality state (not "any"). See TransactionGuard documentation for details. current modality=ModalityState.NON_MODAL...
java.lang.IllegalStateException: Output directory not found at org.ollide.java2smali.DexCompiler.getFileOutputDirectory(DexCompiler.kt:117) at org.ollide.java2smali.DexCompiler.onProjectBuildComplete(DexCompiler.kt:54) at org.ollide.java2smali.DexCompiler.access$onProjectBuildComplete(DexCompiler.kt:22) at org.ollide.java2smali.DexCompiler$run$1.invoke(DexCompiler.kt:26) at org.ollide.java2smali.DexCompiler$run$1.invoke(DexCompiler.kt:22) at org.ollide.java2smali.DexCompiler$buildModule$1.accept(DexCompiler.kt:46) at org.ollide.java2smali.DexCompiler$buildModule$1.accept(DexCompiler.kt:22) at org.jetbrains.concurrency.AsyncPromise$onSuccess$1.accept(AsyncPromise.kt:58) at org.jetbrains.concurrency.AsyncPromise$onSuccess$1.accept(AsyncPromise.kt:13) at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774) at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750) at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488) at...
My Issue is: is there a guide on how to convert from java to smali? This is what I did,, 1. pkg update && pkg upgrade 2. git clone https://github.com/ollide/intellij-java2smali.git...
I wouldn't say it is a real bug, but whenever I try to compile the **first time** a java class containing an anonymous inner class, e.g. a class defining a...
I get this error no building errors, only this one after completion: java.lang.IllegalStateException: Output directory not found at org.ollide.java2smali.DexCompiler.getFileOutputDirectory(DexCompiler.kt:119) at org.ollide.java2smali.DexCompiler.onProjectBuildComplete(DexCompiler.kt:53) at org.ollide.java2smali.DexCompiler.access$onProjectBuildComplete(DexCompiler.kt:21) at org.ollide.java2smali.DexCompiler$run$1.invoke(DexCompiler.kt:25) at org.ollide.java2smali.DexCompiler$run$1.invoke(DexCompiler.kt:21) at org.ollide.java2smali.DexCompiler$buildModule$1.accept(DexCompiler.kt:45) at...
**Intelij IDEA:** ``` org.jf.dexlib2.DexFileFactory$DexFileNotFoundException: NetworkServerManager.dex does not exist at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:83) at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:61) at org.ollide.java2smali.Dex2SmaliHelper.disassembleDexFile(Dex2SmaliHelper.kt:24) at org.ollide.java2smali.DexCompiler$onProjectBuildComplete$1.run(DexCompiler.kt:67) at com.intellij.openapi.command.WriteCommandAction.lambda$runWriteCommandAction$5(WriteCommandAction.java:353) at com.intellij.openapi.command.WriteCommandAction$BuilderImpl$1.run(WriteCommandAction.java:107) at com.intellij.openapi.application.RunResult.run(RunResult.java:35) at com.intellij.openapi.command.WriteCommandAction.lambda$null$1(WriteCommandAction.java:248) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:976) at com.intellij.openapi.command.WriteCommandAction.lambda$performWriteCommandAction$2(WriteCommandAction.java:247) at com.intellij.openapi.command.WriteCommandAction.lambda$doExecuteCommand$4(WriteCommandAction.java:305)...
There seems to be some issue related to IntelliJ 2021.1 and the java2smali plugin: ``` org.jf.dexlib2.DexFileFactory$DexFileNotFoundException: Tracer.dex does not exist at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:83) at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:61) at org.ollide.java2smali.Dex2SmaliHelper.disassembleDexFile(Dex2SmaliHelper.kt:24) at org.ollide.java2smali.DexCompiler$onProjectBuildComplete$1.run(DexCompiler.kt:67) at com.intellij.openapi.command.WriteCommandAction.lambda$runWriteCommandAction$4(WriteCommandAction.java:347)...
Is there any way to do this, similar to how you can build an IntelliJ project from commandline?
after updating java2smali to version 2.0.1 I was not able to do my work. it's giving me `Error: '$' is not a valid file-based resource name character: File-based resource names...