Error No Classfiles Specified
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Can't build project with minSdk = 21 up vote 6 down vote favorite 1 I'm succesfully building the project with min sdks up to 20, but when i try to build with: minSdkVersion 21 targetSdkVersion 21 I get an error: :project:preDexDebug no classfiles specified FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':project:preDexDebug'. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: /Users/user/android-sdk-macosx/build-tools/21.1.1/dx -JXmx2g --dex --multi-dex --output /Users/user/Project-Android/project/build/intermediates/pre-dexed/debug/tween-engine-api-sources-a613effab3e9735b093029491b18c5c4872bdf88.jar /Users/user/Project-Android/project/build/intermediates/exploded-aar/android-ui-client.gdxlibrary/android/unspecified/libs/tween-engine-api-sources.jar Error Code: 1 Output: no classfiles specified I'm using libgdx in some places of the app. Then the install dialog apears and if I choose a device I get another error: Target device: genymotion-google_nexus_6___5_0_0___api_21___1440x2560-192.168.56.103:5555 Uploading file local path: /Users/user/Project-Android/project/build/outputs/apk/project-debug.apk remote path: /data/local/tmp/com.ui.client.debug I/O Error: /Users/user/Project-Android/project/build/outputs/apk/project-debug.apk (No such file or directory) And then an IDE dialog apears with error message: Failed to complete Gradle execu
82988: Multi dex fails if there is a dependency on a library with no classes. 4 people starred this issue and may be notified of changes. Back to list Status: Released Owner: j...@google.com Closed: Apr 2015 Type-Defect Priority-Critical ReportedBy-Developer Component-Tools Target-1.3 Triaged-yes Subcomponent-Tools-gradle Sign in to add a comment Reported by csyo...@google.com, Dec 18, 2014 Host OS: Linux, Ubuntu 14.04 Gradle plug-in version: 1.0.0 STEPS TO REPRODUCE: 1. Have an APK with a dependency on a library that http://stackoverflow.com/questions/28834635/cant-build-project-with-minsdk-21 has no class files (like a resource only library) 2. Enable multi dex on the APK using multiDexEnabled 3. Build the APK EXPECTED RESULTS: The APK builds just fine OBSERVED RESULTS: Build fails with Execution failed for task ':theApk:preDexDebug'. $PATH_TO_TOOLS_BIN/dx $PATH_TO_BUILD_ROOT/out/gradle/theApk/build/intermediates/pre-dexed/debug/classes-e9c90a4db764323d6939732a547da6cdd076106f.jar $PATH_TO_BUILD_ROOT/out/gradle/theApk/build/intermediates/pre-dexed/debug/out/gradle/theApk/build/intermediates/exploded-aar/$BUILD_ROOT_DIR_NAME/theLibraryWithNoClasses/1.0/classes.jar Error Code: 1 Output: no classfiles specified Dec 18, 2014 #1 csyo...@google.com I will attempt to create https://code.google.com/p/android/issues/detail?id=82988 a reproduction project. Dec 18, 2014 #2 csyo...@google.com Just discovered that the library with no classes must have android.packageBuildConfig be false to reproduce this. Dec 18, 2014 #3 csyo...@google.com Alright, here is a project that reproduces the issue. emptyLibMultiDexRepro.zip 52.0 KB Download Dec 18, 2014 Project Member #4 x...@android.com note that android.packageBuildConfig is deprecated and shouldn't be used... but I guess I know which project uses it... Owner: x...@android.com Labels: -Priority-Medium Priority-Critical Target-1.1 Triaged-yes Subcomponent-Tools-gradle Feb 12, 2015 Project Member #5 x...@android.com (No comment was entered for this change.) Labels: -Target-1.1 Target-1.2 Mar 10, 2015 Project Member #6 x...@android.com (No comment was entered for this change.) Owner: j...@google.com Labels: -Target-1.2 Target-1.3 Apr 30, 2015 Project Member #7 j...@google.com integrated in 1.3.0 branch Status: FutureRelease May 5, 2015 #8 mocsabni...@gmail.com Can somebody point me to the patchset which fixes this? Jun 11, 2015 Project Member #9 j...@google.com Released in 1.3.0-beta3 or earlier. Status: Released ► Sign in to add a comment Terms - Privacy - Project Hosting Help Powered by Google Pro
Sign in Pricing Blog Support Search GitHub https://github.com/pxb1988/dex2jar/issues/47 This repository Watch 222 Star 2,290 Fork 592 pxb1988/dex2jar Code Issues 70 Pull requests 4 Projects 0 Wiki Pulse Graphs https://books.google.com/books?id=lgNhBgAAQBAJ&pg=PA294&lpg=PA294&dq=error+no+classfiles+specified&source=bl&ots=lLmxThhlkE&sig=ANLsOislI7_ptqvSMKj21QPsoxg&hl=en&sa=X&ved=0ahUKEwijpeycys_PAhVI3WMKHZ_pAcIQ6AEIVzAJ New issue Jar to dex conversion not working in dex2jar-2.0 #47 Closed TamilanPeriyasamy opened this Issue Dec 8, 2015 · 2 error no comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 1 participant TamilanPeriyasamy commented Dec 8, 2015 Run cmd : dex2jar-2.0/d2j-jar2dex.sh -f -o /home/workspace/Secure/debug/TestApp/classes.dex /home/workspace/Secure/output/test_TestApp.jar call com.android.dx.command.Main.main[--dex, --no-strict, --output=/home/lakeba/workspace /home/workspace/Secure/debug/TestApp/classes.dex, /home/workspace/Secure/output/test_TestApp.jar] no classfiles specified. TamilanPeriyasamy error no classfiles changed the title from no classfiles specified Error for jar to dex conversion time in dex2jar-2.0. to no classfiles specified Error for jar to dex conversing time in dex2jar-2.0. Dec 8, 2015 TamilanPeriyasamy changed the title from no classfiles specified Error for jar to dex conversing time in dex2jar-2.0. to Jar to dex conversion not working in dex2jar-2.0 Dec 8, 2015 TamilanPeriyasamy commented Dec 9, 2015 Please any one help me this is major issue in my Development.....! How to solve.....! How to convert JAR to DEX (dex2jar-2.0) I have two type of error. 1) no classfiles specified. 2) UNEXPECTED TOP-LEVEL ERROR: java.lang.OutOfMemoryError: GC overhead limit exceeded at com.android.dx.ssa.SsaRenamer$BlockRenamer.updateSuccessorPhis(SsaRenamer.java:629) at com.android.dx.ssa.SsaRenamer$BlockRenamer.process(SsaRenamer.java:376) at com.android.dx.ssa.SsaRenamer$1.visitBlock(SsaRenamer.java:167) at com.android.dx.ssa.SsaMethod.forEachBlockDepthFirstDom(SsaMethod.java:813) at com.android.dx.ssa.SsaRenamer.run(SsaRenamer.java:164) at com.android.dx.ssa.SsaConverter.convertToSsaMethod(SsaConverter.java:53) at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:99) at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:73) at com.android
von GoogleAnmeldenAusgeblendete FelderBooksbooks.google.de - See your app through a hacker's eyes to find the real sources of vulnerability The Mobile Application Hacker's Handbook is a comprehensive guide to securing all mobile applications by approaching the issue from a hacker's point of view. Heavily practical, this book provides expert guidance toward discovering...https://books.google.de/books/about/The_Mobile_Application_Hacker_s_Handbook.html?hl=de&id=lgNhBgAAQBAJ&utm_source=gb-gplus-shareThe Mobile Application Hacker's HandbookMeine BücherHilfeErweiterte BuchsucheE-Book kaufen - 49,99 €Nach Druckexemplar suchenWiley.comAmazon.deBuch.de - €49,99Buchkatalog.deLibri.deWeltbild.deIn Bücherei suchenAlle Händler»The Mobile Application Hacker's HandbookDominic Chell, Tyrone Erasmus, Shaun Colley, Ollie WhitehouseJohn Wiley & Sons, 17.02.2015 - 816 Seiten 0 Rezensionenhttps://books.google.de/books/about/The_Mobile_Application_Hacker_s_Handbook.html?hl=de&id=lgNhBgAAQBAJSee your app through a hacker's eyes to find the real sources of vulnerability The Mobile Application Hacker's Handbook is a comprehensive guide to securing all mobile applications by approaching the issue from a hacker's point of view. Heavily practical, this book provides expert guidance toward discovering and exploiting flaws in mobile applications on the iOS, Android, Blackberry, and Windows Phone platforms. You will learn a proven methodology for approaching mobile application assessments, and the techniques used to prevent, disrupt, and remediate the various types of attacks. Coverage includes data storage, cryptography, transport layers, data leakage, injection attacks, runtime manipulation, security controls, and cross-platform apps, with vulnerabilities highlighted and detailed information on the methods hackers use to get around standard security. Mobile applications are widely used in the consumer and enterprise markets to process and/or store sensitive data. There is currently little published on the topic of mobile security, but with over a million apps in the Apple App Store alone, the attack surface is significant. This book helps you secure mobile