Unable to write jarlist cache file while creating android project

前端 未结 13 1730
粉色の甜心
粉色の甜心 2020-11-29 03:20

While creating an android project in Eclipse, I get the error:

[2014-03-13 15:14:36 - appcompat_v7] WARNING: unable to write jarlist cache file C:\\Users\\Neel

相关标签:
13条回答
  • 2020-11-29 03:25

    Well... I met the same situation. I deleted my project from eclipse and on the disk, delete the workspace from the disk, and recreate the project in the new workspace... it works.......

    0 讨论(0)
  • Also got the same problem today.

    • Install and configure all the required components.

    • On the menu bar, go to: Project->Properties->Java build path.

    • On the order and export tab: check all the project libraries. I checked Android 4.4.

    0 讨论(0)
  • 2020-11-29 03:29
    Here is *Simple Trick:*
    Create New Project
    If you get the warning of jarlist Not created under the console tab
    Close Eclipse and ReOpen it
    Now u r done. jarlist is included in appcompat_7/bin or appcompat_7_XX/bin
    0 讨论(0)
  • 2020-11-29 03:31

    Just refresh the bin folder of appcompat_v7!

    0 讨论(0)
  • 2020-11-29 03:32

    If you go to appcompat_v7/bin folder, you'll see that file jarlist.cache doesn´t appear or is unsynchronized. You need to refresh the appcompat_v7 folder, only press F5 over that folder.

    The appcompat_v7 folder is added because you use an action bar component.

    Aah. To avoid a new appcompat_v7_XX folder when you are creating a new project, choose a LEVEL API 14 as Minimum Required SDK.

    After that, you must modifier the AndroidManifest.xml and put the level that you need.

    <uses-sdk
        android:minSdkVersion="14"   ------> change it
        android:targetSdkVersion="19" />` 
    

    Heads up! Delete all appcompat_v7_XX. It is a bug.

    With appcompat_v7, you will see that Eclipse creates two XML files:

    • activity_main.xml
    • fragment_main.xml

    If you want to have an option to create a project in the old way only with activity_main.xml, do that:

    • Make a copy of the folder "BlanckActivity" located in this path: \sdk\tools\templates\activities of an ADT previous version.

    • Rename the folder as BlankActivityNoFragment, then edit the field name of the file template.xml such that, it reads name=BlankActivityNoFragment

    • Copy the new folder in the same path of the new Eclipse IDE: sdk/tools/templates/activities

    Now you´ll see the new template when you go to create a new project.

    Remember to choose as Minimum Required SDK as API 14

    0 讨论(0)
  • 2020-11-29 03:37

    This worked for me. When create android-support-v7-appcompat, mark the option "Copy projects into workspace". Now, it can write in the required directories. I hope this is helpful for you.

    0 讨论(0)
提交回复
热议问题