Free Support Forum - aspose.com

License is not valid for your product Problem

Hello Team,


I want to open a doc file inside my application using Aspose Library in Android.
But When I am using “Aspose.Words.lic” this licence , I am getting the following message:
"License is not valid for your product ".

I am using the following code snippet:

AssetManager mngr = getAssets();
InputStream stream = mngr.open(“Aspose.Words.lic”);
License lic = new License();
lic.setLicense(stream);

The expiry date of my license is " 2015-08-20 ".
Kindly help me in this .

Regards,
Seema Pandit





Hi Seema,

As discussed on live support, your license is valid for Aspose.Words for Android and it will not work with Aspose.Words for Java. You should use Aspose.Words for Android library with your license.

Can you please share if you see any issue after referencing Aspose.Words for Android in your project and using your license with it?

Best Regards,