Error while creating new Activity

后端 未结 2 1555
野的像风
野的像风 2021-01-13 06:34

I am trying to create a new Activity, but the following error comes up (bottom of image)

InvalidReferenceException: Error executing FreeMarker templa

2条回答
  •  佛祖请我去吃肉
    2021-01-13 06:59

    1) Comment out the following code in gradle file (build.gradle)

    buildDir = "C:/tmp/${rootProject.name}/${project.name}" ---comment this line

    2) Use Sync Now at the top of the page to sync the project 3) Add the new Empty Activity (Child Activity) 4) Uncomment the lines you commented out in the gradle file 5) Sync the project again

提交回复
热议问题