Hi,
I was trying packaging my app with the facebook sdk plugin i am working and got the following two errors:
The AAR imports at UPL file are:
<AARImports>
<insertValue value=“repository $S(PluginDir)/…/…/ThirdParty/repository”/>
<insertNewline/>
<insert>com.facebook,Facebook,4.17.0</insert>
<insertNewline/>
</AARImports>
The .aar file Facebook-4.17.0.aar and the .pom file Facebook-4.17.0.pom are located at:
…\Documents\Unreal Projects\Test_4_14\Plugins\FacebookSDK\ThirdParty\repository\com\facebook\Facebook\4.17.0
The .pom file is the following:
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.facebook</groupId>
<artifactId>Facebook</artifactId>
<version>4.17.0</version>
<packaging>aar</packaging>
<dependencies>
<dependency>
<groupId>com.android.support</groupId>
<artifactId>appcompat-v7</artifactId>
<version>23.2.0</version>
<scope>compile</scope>
<type>aar</type>
</dependency>
</dependencies>
</project>
I even added
<style name="com_facebook_activity_theme" parent="@style/Theme.AppCompat.NoActionBar">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowNoTitle">true</item>
</style>
<style name="com_facebook_auth_dialog" parent="@style/Theme.AppCompat.Dialog">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
</style>
to the style.xml in Engine/Build/Android/Java/res/values but still getting the same error.
At the …\Documents\Unreal Projects\Test_4_14\Intermediate\Android\APK\JavaLibs folder both .aar files for appcompat-v7-23.2.0 and Facebook-4.17.0 are extracted.