Comments (4)
Please double check the {APP_PACKAGE_NAME}
that you set in your Android manifest XML. It must match your app id and remember it is prefixed with air.
by default.
We've updated the code a bit to make sure an error is dispatched when the manifest is invalid. You can check the errorMessage
property of the received event, so please try the latest release and let us know your results.
from ane-share.
Thank you for your quick reply.
The problem was indeed coming from my {APP_PACKAGE_NAME}
. As you guessed, I forgot to add the air.
prefix in front of my app id. My bad!
Thanks to your code update, the ERROR
event is now received when the air.
prefix is missing.
errorMessage = "Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object reference"
from ane-share.
I'm same ERROR
errorMessage:Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.PackageItemInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)'on a null object reference
from ane-share.
I got it!
My misstake
from ane-share.
Related Issues (15)
- Could you please build the ane for 1.02 ver? HOT 1
- How to set title for sharing? HOT 3
- change sharing application problem HOT 3
- Is your ane is able to share multiple files? HOT 3
- Can't receive event. HOT 2
- packageName android.support.compat used by more than one ANE
- Receive files from other applications? HOT 2
- intent setType HOT 2
- Push Notifiation warning when submitting to Apple HOT 2
- 64 bit android HOT 1
- On some messaging apps the bitmap is shared as a File HOT 3
- The verison 1.08 bin does not work on armv7, but it works fine on armv8 HOT 2
- AndroidX HOT 1
- Permission error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ane-share.