Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build without making any changes (下載回來無法編譯) #73

Open
carlchandev opened this issue Apr 4, 2019 · 2 comments

Comments

@carlchandev
Copy link

* What went wrong:
Execution failed for task ':demo:instantRunMainApkResourcesDebug'.
> Android resource linking failed
  /Users/user/Documents/dev/workspace-android/ImageEditor-Android/demo/build/intermediates/instant_run_merged_manifests/debug/processDebugManifest/instant-run/AndroidManifest.xml:20: error: unexpected element <activity> found in <manifest>.
@carlchandev
Copy link
Author

Found the solution
add back tag at
ImageEditor-Android/imageeditlibrary/src/main/AndroidManifest.xml

@salmankhalid876
Copy link

salmankhalid876 commented Jun 14, 2019

Just open manifest file of library module and surround EditImageActivity activity with tag.
so its contents will look like:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.xinlan.imageeditlibrary" >
    <!--图片编辑Activity-->
    <application>
        <activity android:name="com.xinlan.imageeditlibrary.editimage.EditImageActivity">
        </activity>
    </application>

</manifest>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants