Comments (4)
@catcata7 could you share an example project that leads to this issue? I've tested the plugin with AS 4.0 and there were no issues.
from intellij-java2smali.
@catcata7 short reminder that I'd need further information to reproduce this issue.
from intellij-java2smali.
Same issue with IntelliJ IDEA
About IDE
IntelliJ IDEA 2020.2.3 (Community Edition)
Build #IC-202.7660.26, built on October 10, 2020
Runtime version: 11.0.8+10 amd64
VM: OpenJDK 64-Bit Server VM by N/A
Linux 5.8.18-1-manjaro
GC: ParNew, ConcurrentMarkSweep
Memory: 1925M
Cores: 16
Non-Bundled Plugins: IdeaVIM, org.ollide.java2smali, org.jetbrains.kotlin
Current Desktop: GNOME
Stacktrace
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:84)
at org.jetbrains.concurrency.AsyncPromise$onSuccess$1.accept(AsyncPromise.kt:16)
at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
at org.jetbrains.concurrency.AsyncPromise.setResult(AsyncPromise.kt:149)
at com.intellij.task.impl.ProjectTaskManagerImpl$ResultConsumer.lambda$notify$1(ProjectTaskManagerImpl.java:351)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:201)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:802)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:322)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:132)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:47)
at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:188)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:971)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:841)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:744)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:451)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:802)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:499)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Steps to reproduce:
- New Project:
- Kotlin
- Build system: Gradle Kotlin
- Create file:
- src/main/kotlin/Something.kt
fun main() { println("Hello world!") }
- Build -> Compile to Smali
from intellij-java2smali.
IDE : Android Studio Bumblebee | 2021.1.1 Patch 2
there were no issues
if New Project --> kotlin,then will get java.lang.IllegalStateException: Output directory not found
at org.ollide.java2smali.DexCompiler.getFileOutputDirectory(DexCompiler.kt:117)
if New Project --> java,then it work well
from intellij-java2smali.
Related Issues (20)
- Error:Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enabled=true HOT 5
- Error:Abnormal build process termination HOT 1
- Error:(24, 25) java: 程序包R不存在 (Android Studio Version3.4.2 ) HOT 10
- Strange bug when I trying to compile to Smali HOT 3
- not able to use version 2.0.1 because I have to work with resource files name start with '$' sign HOT 4
- android studio 4.0 can not find "Compile to smali" item HOT 6
- Compile to smali via commandline
- Compile to smali fails on IntelliJ 2021.1 HOT 14
- dx errors don't interrupt plugin execution HOT 1
- Compiling error on IntelliJ 2021.1.2 HOT 1
- Compile class containing inner class to smali within IntelliJ 2021.1
- My Issue is: is there a guide on how to convert from java to smali? HOT 3
- compile error in 2021.3.3 community edition
- possible to develop a plugin to convert smali to java
- smali file doesn't open automatically HOT 1
- Plugin doesn't work with latest versions of IntelliJ IDEA
- .dex does not exist HOT 1
- Tons of errors
- error in Android Studio
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intellij-java2smali.