Unable to deploy to Google App Engine : java.lang.IllegalArgumentException: Class file is Java 8 but max supported is Java 7

前端 未结 2 1377
孤独总比滥情好
孤独总比滥情好 2021-01-24 10:43

Got this error while trying to setup Firebase Admin SDK

Preparing to deploy: Created staging directory at: \'C:\\Users\\Parag\\AppData\\Local\\Temp\\ap

2条回答
  •  温柔的废话
    2021-01-24 11:07

    It seems like this is a known issue based on their release notes for firebase-admin version 4.0.0 (November 7, 2016) and version 4.0.1 (November 8, 2016):

    ISSUE: This version was compiled for Java 8 and does not support Java 7. This will be fixed in an upcoming release.

    I guess we'll have to wait ;)


    UPDATE:

    As per their release notes, it is now fixed in version 4.0.2 - November 15, 2016:

    FIXED This update restores Java 7 compatibilty for the Admin Java SDK.

提交回复
热议问题