跳到主要內容

發表文章

Android Studio RUN APK 出現 default activity not found

出現 default activity not found 在 android manifest.xml內新增藍色部分,主要是因為找不到 LAUNCHER <activity android :name= ".MainActivity" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <action android:name="com.ashzheng.puzzle.MainActivity"/> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity>

Android Studio How can I fix "Design editor is unavailable until a successful build

Android Studio 出錯  "Design editor is unavailable until a successful build" 確認紅圈處無ERROR即可

android studio 出現 DELETE_FAILED_INTERNAL_ERROR

DELETE_FAILED_INTERNAL_ERROR 下午 05:17 Failed to finalize session : Unknown failure (Error: java.lang.SecurityException: Requires android.permission.ASEC_CREATE permission) Disable Instant Run Settings>Build, Execution, Deployment>Instant Run

Version 1.6.0_65 of the JVM is not suitable for this product.

Version 1.6.0_65 of the JVM is not suitable for this product. install  http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html

use BUILD_PREBUILT instead!. Stop.

最近在包自己APK要做映像檔時,出現use BUILD_PREBUILT instead!. Stop. error vi  build/core/Makefile 註解掉這幾行 #define check-product-copy-files #$(if $(filter %.apk, $(1)),$(error \ #       Prebuilt apk found in PRODUCT_COPY_FILES: $(1), use BUILD_PREBUILT #instead!)) #endef